From 15adff073bb89dc032d8342cfbbdad2850943f52 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 10 May 2017 15:49:54 +0200 Subject: 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 --- lang/python/tests/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lang/python/tests') 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 \ -- cgit v1.2.3