aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tpm2dtests
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-10-12 12:30:13 +0000
committerWerner Koch <[email protected]>2021-10-12 12:30:13 +0000
commitbcd5feec0e916b864d004a47f36a41e2eba3b10e (patch)
treecaa2c308d4bf0f9f3ca02968e93265bdd74ab089 /tests/tpm2dtests
parentbuild: Let the release target also sign the wixlib. (diff)
downloadgnupg-bcd5feec0e916b864d004a47f36a41e2eba3b10e.tar.gz
gnupg-bcd5feec0e916b864d004a47f36a41e2eba3b10e.zip
tests: New way to make use of gpgconf.ctl in tests.
* Makefile.am (all-local): New to setup symlinks. (distclean-local): New. * tests/Makefile.am: Remove the gpgconf related targets. Just keep gpgconf.ctl.in in EXTRA_DIST * tests/cms/Makefile.am (GNUPG_BUILD_ROOT): * tests/gpgme/Makefile.am (GPGSCM_PATH): * tests/openpgp/Makefile.am (GNUPG_BUILD_ROOT): * tests/pkits/Makefile.am (GNUPG_BUILD_ROOT): * tests/tpm2dtests/defs.scm (tools): Revert to the former values. * tests/openpgp/defs.scm (tools): Ditto. -- This Fixes-commit: 399ebf6d873d4178c1d527aa4df34bf16a76360e Fixes-commit: 84fcd8e6eb7e0786399e1f6461c3f60b0db2d070 because we ran into problems with the idea of first doing a test-install for the checks. "make distcheck" turned out to be too problematic. Symlinks are a better way of doing this. Also fixes GnuPG-bug-id: 5634
Diffstat (limited to 'tests/tpm2dtests')
-rw-r--r--tests/tpm2dtests/defs.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/tpm2dtests/defs.scm b/tests/tpm2dtests/defs.scm
index eb840206f..0fef71806 100644
--- a/tests/tpm2dtests/defs.scm
+++ b/tests/tpm2dtests/defs.scm
@@ -61,14 +61,14 @@
(assert (equal? (percent-encode "foob%61r") "foob%2561r"))
(define tools
- '((gpgv "GPGV" "bin/gpgv")
- (gpg-connect-agent "GPG_CONNECT_AGENT" "bin/gpg-connect-agent")
- (gpgconf "GPGCONF" "bin/gpgconf")
+ '((gpgv "GPGV" "g10/gpgv")
+ (gpg-connect-agent "GPG_CONNECT_AGENT" "tools/gpg-connect-agent")
+ (gpgconf "GPGCONF" "tools/gpgconf")
(gpg-preset-passphrase "GPG_PRESET_PASSPHRASE"
- "libexec/gpg-preset-passphrase")
- (gpgtar "GPGTAR" "bin/gpgtar")
- (tpm2daemon "TPM2DAEMON" "libexec/tpm2daemon")
- (pinentry "PINENTRY" "openpgp/fake-pinentry")))
+ "agent/gpg-preset-passphrase")
+ (gpgtar "GPGTAR" "tools/gpgtar")
+ (tpm2daemon "TPM2DAEMON" "tpm2d/tpm2daemon")
+ (pinentry "PINENTRY" "tests/openpgp/fake-pinentry")))
(define with-valgrind? (not (string=? (getenv "with_valgrind") "")))