aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/tests
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-05-10 13:49:54 +0000
committerJustus Winter <[email protected]>2017-05-10 13:49:54 +0000
commit15adff073bb89dc032d8342cfbbdad2850943f52 (patch)
tree44e6ec951459d8c398e5892c829520df46c1503f /lang/python/tests
parentqt: Stop agent on clean. (diff)
downloadgpgme-15adff073bb89dc032d8342cfbbdad2850943f52.tar.gz
gpgme-15adff073bb89dc032d8342cfbbdad2850943f52.zip
tests: Harmonize test suites.
* lang/python/tests/Makefile.am: Create test environment as part of 'make all'. * tests/gpg/Makefile.am: Make sure the private keystore is created first. * tests/gpgsm/Makefile.am: Create test environment as part of 'make all'. Make sure the private keystore is created first. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/tests')
-rw-r--r--lang/python/tests/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am
index 9c19a13e..b62b5247 100644
--- a/lang/python/tests/Makefile.am
+++ b/lang/python/tests/Makefile.am
@@ -71,7 +71,7 @@ check: xcheck
.PHONY: xcheck
-xcheck: ./pubring-stamp
+xcheck:
$(TESTS_ENVIRONMENT) $(PYTHON) $(srcdir)/run-tests.py \
--interpreters="$(PYTHONS)" --srcdir=$(srcdir) $(TESTFLAGS) \
$(XTESTS)
@@ -93,6 +93,9 @@ clean-local:
-rm -fR -- private-keys-v1.d openpgp-revocs.d S.gpg-agent sshcontrol
+BUILT_SOURCES = gpg.conf gpg-agent.conf pubring-stamp \
+ private-keys-v1.d/gpg-sample.stamp
+
./private-keys-v1.d/gpg-sample.stamp: $(private_keys)
$(MKDIR_P) ./private-keys-v1.d
for k in $(private_keys); do \