aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpgme
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-09-30 16:18:00 +0000
committerWerner Koch <[email protected]>2021-10-01 12:46:16 +0000
commit399ebf6d873d4178c1d527aa4df34bf16a76360e (patch)
treeea229ce5301893efca5f69ee19a2e898609b2a30 /tests/gpgme
parentcommon: Support gpgconf.ctl also for BSDs. (diff)
downloadgnupg-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/gpgme')
-rw-r--r--tests/gpgme/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/gpgme/Makefile.am b/tests/gpgme/Makefile.am
index 60fb01df9..aa41940ca 100644
--- a/tests/gpgme/Makefile.am
+++ b/tests/gpgme/Makefile.am
@@ -33,6 +33,7 @@ TESTS_ENVIRONMENT = 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
# XXX: Currently, one cannot override automake's 'check' target. As a