diff options
author | Werner Koch <[email protected]> | 2021-09-30 16:18:00 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-10-01 12:46:16 +0000 |
commit | 399ebf6d873d4178c1d527aa4df34bf16a76360e (patch) | |
tree | ea229ce5301893efca5f69ee19a2e898609b2a30 /tests/migrations | |
parent | common: Support gpgconf.ctl also for BSDs. (diff) | |
download | gnupg-399ebf6d873d4178c1d527aa4df34bf16a76360e.tar.gz gnupg-399ebf6d873d4178c1d527aa4df34bf16a76360e.zip |
build: Prepare for using installed versions for tests.
* tests/gpgconf.ctl.in: New.
* tests/Makefile.am (EXTRA_DIST): Add new file.
(TESTINST_DIRS): New.
(clean-local): New.
(clean-local-testinst): New.
(check-recursive): New hook.
(bin/gpgconf.ctl): Run a test install.
* tests/cms/Makefile.am (TESTS_ENVIRONMENT): Set new envvar
GNUPG_BUILD_ROOT.
* tests/gpgme/Makefile.am (TESTS_ENVIRONMENT): Ditto.
* tests/openpgp/Makefile.am (TESTS_ENVIRONMENT): Ditto.
* tests/pkits/Makefile.am (TESTS_ENVIRONMENT): Ditto.
* tests/tpm2dtests/Makefile.am (TESTS_ENVIRONMENT): Ditto.
--
Right now this helps only with the global configuraion dir which is
now not set and thus the build host'ss own /etc/gnupg does not anymore
affect the build.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'tests/migrations')
-rw-r--r-- | tests/migrations/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/migrations/Makefile.am b/tests/migrations/Makefile.am index 6d2d2e8a6..f38d26e19 100644 --- a/tests/migrations/Makefile.am +++ b/tests/migrations/Makefile.am @@ -33,6 +33,7 @@ TESTS_ENVIRONMENT = GPG_AGENT_INFO= LC_ALL=C \ PATH="../gpgscm:$(PATH)" \ abs_top_srcdir="$(abs_top_srcdir)" \ objdir="$(abs_top_builddir)" \ + GNUPG_BUILD_ROOT="$(abs_top_builddir)/tests" \ GPGSCM_PATH="$(abs_top_srcdir)/tests/gpgscm" XTESTS = from-classic.scm \ |