diff options
author | Werner Koch <[email protected]> | 2015-06-08 08:43:29 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-06-08 08:43:29 +0000 |
commit | a5b040cc57c65b3d105666b90c7eb59ee6ff3882 (patch) | |
tree | 6ead4e6bd57cb045c2a734f6a704dae3ab510357 /tests/gpg/final.test | |
parent | Set GPGME_SIGSUM_KEY_REVOKED also for gpg. (diff) | |
download | gpgme-a5b040cc57c65b3d105666b90c7eb59ee6ff3882.tar.gz gpgme-a5b040cc57c65b3d105666b90c7eb59ee6ff3882.zip |
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 <[email protected]>
Diffstat (limited to 'tests/gpg/final.test')
-rwxr-xr-x | tests/gpg/final.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gpg/final.test b/tests/gpg/final.test index 5148a34b..5289396f 100755 --- a/tests/gpg/final.test +++ b/tests/gpg/final.test @@ -1,4 +1,4 @@ #!/bin/sh -${srcdir}/start-stop-agent --stop +${top_srcdir}/tests/start-stop-agent --stop exit 0 |