gpgme/tests/gpgsm
Werner Koch a5b040cc57
Fix test suite for GnuPG 2.1 which uses pubring.kbx.
* tests/gpgsm/final.test: New.
* tests/gpgsm/initial.test: New.
* tests/gpg/start-stop-agent: Move to ../.
* tests/gpgsm/Makefile.am (TESTS_ENVIRONMENT): Export top_srcdir.
(TESTS): Add intial.test and final.test.
(AM_LDFLAGS): Add -no-install.
(clean-local): Use start-stop-agent
(initial.test): Add dependency.
* tests/gpg/Makefile.am (top_srcdir): Export top_srcdir.
(AM_LDFLAGS): Add -no-install.
(check-local): Depend on pubring-stamp instead of pubring.gpg.
(initial.test): Depend on check-local.
(./pubring-gpg): Replace by rule for ./pubring-stamp.
--

There are also a couple of other changes which should make the tests a
bit more robust and the gpg and gpgsm tests more similar.

The -no-install avoids creating wrappers for test programs, which make
debugging easier.

The dependency on check-local guarantees that its rules are run before
the first test.  This is important because conf files are setup by
this rule.  Earlier automake versions seem to have run check-local
always before the tests but today the order of execution is not
defined.

Signed-off-by: Werner Koch <wk@gnupg.org>
2015-06-08 10:43:29 +02:00
..
.gitignore .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
32100C27173EF6E9C4E9A25D3D69F86D37A4F939
cert_dfn_pca01.der Restore the key files. 2005-09-08 15:17:58 +00:00
cert_dfn_pca15.der Restore the key files. 2005-09-08 15:17:58 +00:00
cert_g10code_test1.der Restore the key files. 2005-09-08 15:17:58 +00:00
cms-decrypt.c Use gpgme interface for error handling to avoid linking with gpg-error. 2012-02-08 15:26:17 +01:00
cms-keylist.c Use gpgme interface for error handling to avoid linking with gpg-error. 2012-02-08 15:26:17 +01:00
final.test Fix test suite for GnuPG 2.1 which uses pubring.kbx. 2015-06-08 10:43:29 +02:00
initial.test Fix test suite for GnuPG 2.1 which uses pubring.kbx. 2015-06-08 10:43:29 +02:00
Makefile.am Fix test suite for GnuPG 2.1 which uses pubring.kbx. 2015-06-08 10:43:29 +02:00
t-decrypt.c
t-encrypt.c
t-export.c
t-genkey.c 2004-12-07 Marcus Brinkmann <marcus@g10code.de> 2004-12-07 21:13:39 +00:00
t-import.c
t-keylist.c Use gpgme interface for error handling to avoid linking with gpg-error. 2012-02-08 15:26:17 +01:00
t-sign.c
t-support.h Use gpgme interface for error handling to avoid linking with gpg-error. 2012-02-08 15:26:17 +01:00
t-verify.c tests: Fix NULL ptr deref in gpgsm/t-verify. 2013-08-19 20:38:36 +02:00