summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2002-08-08 18:32:01 +0200
committerWerner Koch <wk@gnupg.org>2002-08-08 18:32:01 +0200
commit0b01b9cb6205ff2addf511f7c272b2284da7fee2 (patch)
treeff02463a0e551778a664cd0f6864a87450acf71d /tests/Makefile.am
parent* sig-check.c (signature_check2): Sanity check that the md has a context (diff)
downloadgnupg2-0b01b9cb6205ff2addf511f7c272b2284da7fee2.tar.xz
gnupg2-0b01b9cb6205ff2addf511f7c272b2284da7fee2.zip
* asschk.c: Added some new features.
* runtest, inittests: New. * text-1.txt, text-2.txt, text-3.txt: New. * text-1.osig.pem, text-1.dsig.pem, text-1.osig-bad.pem: New. * text-2.osig.pem, text-2.osig-bad.pem: New. * samplekeys : New directory * sm-verify, sm-sign+verify: The first test scripts.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am31
1 files changed, 27 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 59740ef9f..15c2e4cb7 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -19,15 +19,38 @@
## Process this file with automake to produce Makefile.in
-TESTS_ENVIRONMENT =
+GPGSM = ../sm/gpgsm
-EXTRA_DIST =
+# We can't unset a variable here so we unset GPG_AGENT_INFO in runtest
+TESTS_ENVIRONMENT = GNUPGHOME=`pwd` LC_ALL=C GPGSM=${GPGSM} ./runtest
-TESTS =
+EXTRA_DIST = runtest inittests \
+ text-1.txt text-2.txt text-3.txt \
+ text-1.osig.pem text-1.dsig.pem text-1.osig-bad.pem \
+ text-2.osig.pem text-2.osig-bad.pem
-noinst_PROGRAMS = asschk $(TESTS)
+TESTS = sm-sign+verify sm-verify
+
+CLEANFILES = inittests.stamp x y y z out err
+ *.lock .\#lk*
+
+DISTCLEANFILES = keyring.kbx~ random_seed
+
+noinst_PROGRAMS = asschk
asschk_SOURCES = asschk.c
+all-local: inittests.stamp
+
+clean-local:
+ $(TESTS_ENVIRONMENT) $(srcdir)/inittests --clean
+
+inittests.stamp: inittests
+ $(TESTS_ENVIRONMENT) $(srcdir)/inittests
+ echo timestamp >./inittests.stamp
+
+
+
+