1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

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: 399ebf6d87
Fixes-commit: 84fcd8e6eb
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
This commit is contained in:
Werner Koch 2021-10-12 14:30:13 +02:00
parent 257632f58d
commit bcd5feec0e
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
9 changed files with 61 additions and 55 deletions

View file

@ -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") "")))