g10: Add test for keydb as well as new testing infrastructure.
authorNeal H. Walfield <neal@g10code.com>
Wed, 2 Sep 2015 13:07:06 +0000 (15:07 +0200)
committerNeal H. Walfield <neal@g10code.com>
Wed, 2 Sep 2015 13:08:57 +0000 (15:08 +0200)
commitee7ec1256b24dc340656c331ef92fc59cad817b6
treec9642ff125bbbe5b095be55aa148110dae823fb0
parent60bc518645d3acfd4dcb79e61a2be6ce001e93aa
g10: Add test for keydb as well as new testing infrastructure.

* g10/Makefile.am (EXTRA_DIST): Add test.c.
(AM_CPPFLAGS): Add -DSOURCE_DIR="\"$(srcdir)\"".
(module_tests): Add t-keydb.
(t_keydb_SOURCES): New variable.
(t_keydb_LDADD): Likewise.
* g10/t-keydb.c: New file.
* g10/t-keydb-keyring.kbx: New file.
* g10/test-stubs.c: New file.
* g10/test.c: New file.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>.
g10/Makefile.am
g10/t-keydb-keyring.kbx [new file with mode: 0644]
g10/t-keydb.c [new file with mode: 0644]
g10/test-stubs.c [new file with mode: 0644]
g10/test.c [new file with mode: 0644]