summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDamien Goutte-Gattat via Gnupg-devel <gnupg-devel@gnupg.org>2021-03-15 22:20:04 +0100
committerWerner Koch <wk@gnupg.org>2021-03-16 10:56:57 +0100
commitad481666ea6ef3743041ec6d043a3e6901ebab33 (patch)
tree19392f77fb9c740ce36db9702dcbb8a9328f4fcf /tests
parenttests:tpm2d: add missing start_sw_tpm.sh script (diff)
downloadgnupg2-ad481666ea6ef3743041ec6d043a3e6901ebab33.tar.xz
gnupg2-ad481666ea6ef3743041ec6d043a3e6901ebab33.zip
build: Fix distcheck when tpm2dtests are run.
* tests/tpm2dtests/Makefile.am (EXTRA_DIST): Distribute test files. (CLEANFILES): Make sure to remove log files. Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/tpm2dtests/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/tpm2dtests/Makefile.am b/tests/tpm2dtests/Makefile.am
index ced4a1f49..eeae39906 100644
--- a/tests/tpm2dtests/Makefile.am
+++ b/tests/tpm2dtests/Makefile.am
@@ -61,14 +61,15 @@ xcheck: tpm_server_found
tpm_server_found:
@if [ -z "$(TPMSERVER)" -a -z "$(SWTPM)" -a -z "$(FORCE)" ]; then echo "ERROR: No Software TPM has been found, cannot run TPM tests. Set FORCE=1 to force using the physical TPM"; exit 1; fi
-EXTRA_DIST = defs.scm shell.scm all-tests.scm start_sw_tpm.sh
+EXTRA_DIST = defs.scm shell.scm all-tests.scm run-tests.scm $(XTESTS) \
+ start_sw_tpm.sh
CLEANFILES = gpg.conf gpg-agent.conf S.gpg-agent \
pubring.gpg pubring.gpg~ pubring.kbx pubring.kbx~ \
secring.gpg pubring.pkr secring.skr \
gnupg-test.stop random_seed gpg-agent.log tofu.db \
passphrases sshcontrol S.gpg-agent.ssh report.xml \
- msg.txt
+ msg.txt *.log
clean-local:
-rm -rf private-keys-v1.d openpgp-revocs.d