test: add support for compiling and running C snippets
authorDavid Bremner <david@tethera.net>
Sat, 14 Mar 2015 08:02:03 +0000 (09:02 +0100)
committerDavid Bremner <david@tethera.net>
Sat, 28 Mar 2015 23:33:56 +0000 (00:33 +0100)
commit1e69afe8af3512c45061cfde99c9f98e1f94e20c
tree7f8ad1626b5f5792aa3beddac43ec6eeaeda03f6
parentbaf93369f6a204bc16740358a56af95cbaa1f9b5
test: add support for compiling and running C snippets

This is to limit the copy-pasta involved in running C tests. I decided
to keep things simple and not try to provide an actual C skeleton.

The setting of LD_LIBRARY_PATH is to force using the built libnotmuch
rather than any potential system one.
test/README
test/test-lib.sh