diff options
Diffstat (limited to '')
| -rw-r--r-- | tests/gpg/Makefile.am | 12 | ||||
| -rw-r--r-- | tests/gpgsm/Makefile.am | 10 | 
2 files changed, 7 insertions, 15 deletions
| diff --git a/tests/gpg/Makefile.am b/tests/gpg/Makefile.am index 034bb5e0..b50f4b07 100644 --- a/tests/gpg/Makefile.am +++ b/tests/gpg/Makefile.am @@ -81,15 +81,11 @@ noinst_PROGRAMS = $(c_tests) $(tests_skipped)  clean-local: -	-$(top_srcdir)/tests/start-stop-agent --stop +	-$(TESTS_ENVIRONMENT) $(top_srcdir)/tests/start-stop-agent --stop  	-rm -fR private-keys-v1.d -export GNUPGHOME := $(abs_builddir) - -export GPG_AGENT_INFO := -  gpg-sample.stamp: $(srcdir)/$(private_keys) -	-gpgconf --kill all +	-$(TESTS_ENVIRONMENT) gpgconf --kill all  	$(MKDIR_P) ./private-keys-v1.d  	for k in $(private_keys); do \            cp $(srcdir)/$$k private-keys-v1.d/$$k.key; \ @@ -97,9 +93,9 @@ gpg-sample.stamp: $(srcdir)/$(private_keys)  	echo x > ./gpg-sample.stamp  pubring-stamp: $(srcdir)/pubdemo.asc gpg-sample.stamp -	$(GPG) --batch --no-permission-warning \ +	$(TESTS_ENVIRONMENT) $(GPG) --batch --no-permission-warning \                 --import $(srcdir)/pubdemo.asc -	-$(GPG) --batch --no-permission-warning \ +	-$(TESTS_ENVIRONMENT) $(GPG) --batch --no-permission-warning \  		--import $(srcdir)/secdemo.asc  	echo x > ./pubring-stamp diff --git a/tests/gpgsm/Makefile.am b/tests/gpgsm/Makefile.am index 3b8eb725..d2acd05b 100644 --- a/tests/gpgsm/Makefile.am +++ b/tests/gpgsm/Makefile.am @@ -49,18 +49,14 @@ CLEANFILES = pubring-stamp pubring.kbx pubring.kbx~ gpgsm.conf trustlist.txt \  	random_seed S.gpg-agent gpg-sample.stamp  clean-local: -	-$(top_srcdir)/tests/start-stop-agent --stop +	-$(TESTS_ENVIRONMENT) $(top_srcdir)/tests/start-stop-agent --stop  	-rm -fR private-keys-v1.d -export GNUPGHOME := $(abs_builddir) - -export GPG_AGENT_INFO := -  BUILT_SOURCES = gpgsm.conf trustlist.txt pubring-stamp \             gpg-sample.stamp  pubring-stamp: $(srcdir)/cert_g10code_test1.der gpg-sample.stamp -	$(GPGSM) --import $(srcdir)/cert_g10code_test1.der +	$(TESTS_ENVIRONMENT) $(GPGSM) --import $(srcdir)/cert_g10code_test1.der  	touch pubring-stamp  gpgsm.conf: @@ -69,7 +65,7 @@ gpgsm.conf:  	echo "agent-program `which $(GPG_AGENT)`|--debug-quick-random" >> ./gpgsm.conf  gpg-sample.stamp: $(srcdir)/$(key_id) -	-gpgconf --kill all +	-$(TESTS_ENVIRONMENT) gpgconf --kill all  	$(MKDIR_P) ./private-keys-v1.d  	cp $(srcdir)/$(key_id) private-keys-v1.d/$(key_id).key  	echo x > ./gpg-sample.stamp | 
