From 52efcf1ee9fc8ba4c6bd23d8fe4f5f7993ba9fb1 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 6 Jul 2016 10:59:18 +0200 Subject: python: Fix distcheck. * lang/python/INSTALL: Drop obsolete file. * lang/python/Makefile.am (EXTRA_DIST): Add missing files. (CLEANFILES): Remove generated files. (clean-local): Fix permissions of copied files. * lang/python/tests/Makefile.am (TESTS): Use our own setup and teardown scripts. (EXTRA_DIST): Add missing files. * lang/python/tests/final.py: New file. * lang/python/tests/initial.py: Likewise. Signed-off-by: Justus Winter --- lang/python/tests/Makefile.am | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lang/python/tests/Makefile.am') diff --git a/lang/python/tests/Makefile.am b/lang/python/tests/Makefile.am index b51562cc..69985bb0 100644 --- a/lang/python/tests/Makefile.am +++ b/lang/python/tests/Makefile.am @@ -49,9 +49,8 @@ py_tests = t-wrapper.py \ t-file-name.py \ t-idiomatic.py -TESTS = $(top_srcdir)/tests/gpg/initial.test \ - $(py_tests) \ - $(top_srcdir)/tests/gpg/final.test +TESTS = initial.py $(py_tests) final.py +EXTRA_DIST = support.py $(TESTS) CLEANFILES = secring.gpg pubring.gpg pubring.kbx trustdb.gpg dirmngr.conf \ gpg-agent.conf pubring.kbx~ gpg.conf pubring.gpg~ \ @@ -73,7 +72,7 @@ check-local: ./gpg.conf ./gpg-agent.conf ./pubring-stamp \ # To guarantee that check-local is run before any tests we # add this dependency: -$(top_srcdir)/tests/gpg/initial.test: check-local +initial.py: check-local ./private-keys-v1.d/gpg-sample.stamp: $(private_keys) test -d ./private-keys-v1.d || mkdir ./private-keys-v1.d -- cgit v1.2.3