Add dynamic module test and helper script
commit955e25dbcd0519d115f58b275923a71c04579e83
authorAurélien Aptel <aurelien.aptel@gmail.com>
Mon, 16 Nov 2015 00:00:25 +0000 (16 01:00 +0100)
committerTed Zlatanov <tzz@lifelogs.com>
Wed, 18 Nov 2015 19:24:35 +0000 (18 14:24 -0500)
treea75f83e478b62b1de689c1e8c91e4a6cb67f68f3
parent218caccd968d16a1a8d1f336e72f211c3e169142
Add dynamic module test and helper script

Add 'modhelp.py' script (python2) to automate module testing and
module generation.

To build and test all modules in the modules/ dir
  $ ./modhelp.py test

To generate a module from template code (good starting point)
  $ ./modhelp init mynewtestmodule

See the script -h option for more documentation.

* modules/modhelp.py: New module helper script.
* modules/mod-test/Makefile: New file. Makefile for the test module.
* modules/mod-test/mod-test.c: New file. Test module source file.
* modules/mod-test/test.el: New file. ert test suite for the test module.
* modules/.gitignore: New file. Local .gitignore file.

Co-authored-by: Philipp Stephani <phst@google.com>
modules/.gitignore [new file with mode: 0644]
modules/mod-test/Makefile [new file with mode: 0644]
modules/mod-test/mod-test.c [new file with mode: 0644]
modules/mod-test/test.el [new file with mode: 0644]
modules/modhelp.py [new file with mode: 0755]