gpgme/tests/gpg
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 Clean up gpgme's tests/gpg when gpg2.1 is available 2014-09-24 14:44:51 +02:00
7A030357C0F253A5BBCD282FFC4E521B37558F5C Make test suite workable with GnuPG 2.1. 2013-08-12 14:32:21 +02:00
13CBE3758AFE42B5E5E2AE4CED27AFA455E3F87F Make test suite workable with GnuPG 2.1. 2013-08-12 14:32:21 +02:00
13CD0F3BDF24BE53FE192D62F18737256FF6E4FD Make test suite workable with GnuPG 2.1. 2013-08-12 14:32:21 +02:00
76F7E2B35832976B50A27A282D9B87E44577EB66 Make test suite workable with GnuPG 2.1. 2013-08-12 14:32:21 +02:00
A0747D5F9425E6664F4FFBEED20FBCA79FDED2BD Make test suite workable with GnuPG 2.1. 2013-08-12 14:32:21 +02:00
cipher-1.asc 2001-11-22 Marcus Brinkmann <marcus@g10code.de> 2001-11-22 03:01:26 +00:00
cipher-2.asc 2001-11-22 Marcus Brinkmann <marcus@g10code.de> 2001-11-22 03:01:26 +00:00
final.test Fix test suite for GnuPG 2.1 which uses pubring.kbx. 2015-06-08 10:43:29 +02:00
geheim.txt 2001-11-22 Marcus Brinkmann <marcus@g10code.de> 2001-11-22 03:01:26 +00: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
mkdemodirs.in Add gpgme_io_write and gpgme_io_read. 2009-06-09 16:01:02 +00:00
pinentry 2008-01-10 Marcus Brinkmann <marcus@g10code.de> 2008-01-10 04:33:34 +00:00
pubdemo.asc Add a test for expired subkeys 2005-10-19 08:23:23 +00:00
pubkey-1.asc Update GPGME test suite for use with GnuPG 2.1. 2011-04-27 18:03:46 +02:00
secdemo.asc Update GPGME test suite for use with GnuPG 2.1. 2011-04-27 18:03:46 +02:00
seckey-1.asc Update GPGME test suite for use with GnuPG 2.1. 2011-04-27 18:03:46 +02:00
t-decrypt-verify.c Use gpgme interface for error handling to avoid linking with gpg-error. 2012-02-08 15:26:17 +01:00
t-decrypt.c 2004-12-07 Marcus Brinkmann <marcus@g10code.de> 2004-12-07 21:13:39 +00:00
t-edit.c Use gpgme interface for error handling to avoid linking with gpg-error. 2012-02-08 15:26:17 +01:00
t-encrypt-large.c Boosted performance of w32 I/O 2005-09-23 13:29:04 +00:00
t-encrypt-sign.c Allow symmetric encryption with gpgme_op_encrypt_sign. 2013-05-22 16:31:51 +02:00
t-encrypt-sym.c 2004-12-07 Marcus Brinkmann <marcus@g10code.de> 2004-12-07 21:13:39 +00:00
t-encrypt.c 2004-12-07 Marcus Brinkmann <marcus@g10code.de> 2004-12-07 21:13:39 +00:00
t-eventloop.c Use gpgme interface for error handling to avoid linking with gpg-error. 2012-02-08 15:26:17 +01:00
t-export.c Add new functions to import and export keys specified by gpgme_key_t. 2009-06-16 11:42:21 +00:00
t-file-name.c doc/ 2005-09-30 14:17:47 +00:00
t-genkey.c 2004-12-07 Marcus Brinkmann <marcus@g10code.de> 2004-12-07 21:13:39 +00:00
t-gpgconf.c Add example. 2008-06-19 18:38:28 +00:00
t-import.c Improve import tests for GnuPG 2.1. 2011-05-04 00:52:11 +02:00
t-keylist-sig.c Remove compiler warning from test 2014-04-10 11:42:39 +02:00
t-keylist.c Use gpgme interface for error handling to avoid linking with gpg-error. 2012-02-08 15:26:17 +01:00
t-sig-notation.c 2005-10-07 Marcus Brinkmann <marcus@g10code.de> 2005-10-06 23:28:50 +00:00
t-sign.c Fix detection of invalid signer keys. 2009-08-06 17:17:18 +00:00
t-signers.c 2004-12-07 Marcus Brinkmann <marcus@g10code.de> 2004-12-07 21:13:39 +00:00
t-support.h Use gpgme interface for error handling to avoid linking with gpg-error. 2012-02-08 15:26:17 +01:00
t-thread1.c 2004-12-07 Marcus Brinkmann <marcus@g10code.de> 2004-12-07 21:13:39 +00:00
t-trustlist.c Use gpgme interface for error handling to avoid linking with gpg-error. 2012-02-08 15:26:17 +01:00
t-verify.c Use gpgme interface for error handling to avoid linking with gpg-error. 2012-02-08 15:26:17 +01:00
t-wait.c Use gpgme interface for error handling to avoid linking with gpg-error. 2012-02-08 15:26:17 +01:00