aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-02-15 02:14:49 +0000
committerNIIBE Yutaka <[email protected]>2018-02-15 02:14:49 +0000
commitb5ec21b9baf017b4cee88c9ef3cc1a638547cd20 (patch)
tree59e689efa99da5e171a816b08fbc0ff937795c7f /lang/python/tests
parentbuild: More Makefile fix. (diff)
downloadgpgme-b5ec21b9baf017b4cee88c9ef3cc1a638547cd20.tar.gz
gpgme-b5ec21b9baf017b4cee88c9ef3cc1a638547cd20.zip
tests: Makefile portability.
* tests/gpg/Makefile.am: Don't use "export" directive. * tests/gpgsm/Makefile.am: Ditto. * lang/qt/tests/Makefile.am: Ditto. * lang/python/tests/Makefile.am: Ditto. -- GnuPG-bug-id: 3056 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'lang/python/tests')
-rw-r--r--lang/python/tests/Makefile.am10
1 files changed, 4 insertions, 6 deletions
diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am
index 6224e5a9..3864f8ba 100644
--- a/lang/python/tests/Makefile.am
+++ b/lang/python/tests/Makefile.am
@@ -18,8 +18,6 @@
GPG = gpg
GPG_AGENT = gpg-agent
-export GNUPGHOME := $(abs_builddir)
-export GPG_AGENT_INFO :=
test_srcdir = $(top_srcdir)/tests/gpg
@@ -89,7 +87,7 @@ private_keys = \
$(test_srcdir)/7A030357C0F253A5BBCD282FFC4E521B37558F5C
clean-local:
- -$(top_srcdir)/tests/start-stop-agent --stop
+ -$(TESTS_ENVIRONMENT) $(top_srcdir)/tests/start-stop-agent --stop
-rm -fR -- private-keys-v1.d openpgp-revocs.d S.gpg-agent sshcontrol
@@ -97,7 +95,7 @@ BUILT_SOURCES = gpg.conf gpg-agent.conf pubring-stamp \
gpg-sample.stamp
gpg-sample.stamp: $(private_keys)
- -gpgconf --kill all
+ -$(TESTS_ENVIRONMENT) gpgconf --kill all
$(MKDIR_P) ./private-keys-v1.d
for k in $(private_keys); do \
cp $$k private-keys-v1.d/$${k#$(test_srcdir)/}.key; \
@@ -105,9 +103,9 @@ gpg-sample.stamp: $(private_keys)
echo x > ./gpg-sample.stamp
pubring-stamp: $(test_srcdir)/pubdemo.asc gpg-sample.stamp
- $(GPG) --batch --no-permission-warning \
+ $(TESTS_ENVIRONMENT) $(GPG) --batch --no-permission-warning \
--import $(test_srcdir)/pubdemo.asc
- -$(GPG) --batch --no-permission-warning \
+ -$(TESTS_ENVIRONMENT) $(GPG) --batch --no-permission-warning \
--import $(test_srcdir)/secdemo.asc
echo x > ./pubring-stamp