1 # Makefile.am -tests makefile for libxtime
2 # Copyright (C) 2002 Free Software Foundation, Inc.
4 # This file is part of GnuPG.
6 # GnuPG is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
11 # GnuPG is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <https://www.gnu.org/licenses/>.
19 ## Process this file with automake to produce Makefile.in
21 SUBDIRS = gpgscm openpgp migrations gpgsm gpgme pkits .
25 # Note that we need to use /bin/pwd so that we don't get into trouble
26 # if the shell used for inittests would uses an internal version of
27 # pwd which handles symlinks differently.
28 TESTS_ENVIRONMENT = GNUPGHOME=`/bin/pwd` GPG_AGENT_INFO= LC_ALL=C \
29 GPGSM=$(GPGSM) $(srcdir)/runtest
31 testscripts = sm-sign+verify sm-verify
33 EXTRA_DIST = runtest inittests $(testscripts) ChangeLog-2011 \
34 text-1.txt text-2.txt text-3.txt \
35 text-1.osig.pem text-1.dsig.pem text-1.osig-bad.pem \
36 text-2.osig.pem text-2.osig-bad.pem \
37 fake-pinentries/README.txt \
38 fake-pinentries/fake-pinentry.php \
39 fake-pinentries/fake-pinentry.pl \
40 fake-pinentries/fake-pinentry.py \
41 fake-pinentries/fake-pinentry.sh \
42 samplekeys/steed-self-signing-nonthority.pem \
43 samplekeys/68A638998DFABAC510EA645CE34F9686B2EDF7EA.key \
44 samplekeys/32100C27173EF6E9C4E9A25D3D69F86D37A4F939.key \
45 samplekeys/cert_g10code_pete1.pem \
46 samplekeys/cert_g10code_test1.pem \
47 samplekeys/cert_g10code_theo1.pem
49 # We used to run $(testscripts) here but these asschk scripts are not
50 # completely reliable in all environments and thus we better disable
51 # them. The tests are anyway way too minimal. We will eventually
52 # write new tests based on gpg-connect-agent which has a full fledged
53 # script language and thus makes it far easier to write tests than to
54 # use that low-level asschk stuff.
57 CLEANFILES = inittests.stamp x y y z out err \
60 DISTCLEANFILES = pubring.kbx~ random_seed
63 noinst_PROGRAMS = asschk
66 asschk_SOURCES = asschk.c
69 all-local: inittests.stamp
72 srcdir=$(srcdir) $(TESTS_ENVIRONMENT) $(srcdir)/inittests --clean
74 inittests.stamp: inittests
75 srcdir=$(srcdir) $(TESTS_ENVIRONMENT) $(srcdir)/inittests
76 echo timestamp >./inittests.stamp