common: Add support for the new extended private key format.
[gnupg.git] / tests / migrations / Makefile.am
1 # Makefile.am - For tests/openpgp
2 # Copyright (C) 2016 g10 Code GmbH
3 #
4 # This file is part of GnuPG.
5 #
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.
10 #
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.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <http://www.gnu.org/licenses/>.
18 # Process this file with automake to create Makefile.in
19
20
21 # Programs required before we can run these tests.
22 required_pgms = ../../g10/gpg$(EXEEXT) ../../agent/gpg-agent$(EXEEXT)
23
24 AM_CPPFLAGS = -I$(top_srcdir)/common
25 include $(top_srcdir)/am/cmacros.am
26
27 AM_CFLAGS =
28
29 TESTS_ENVIRONMENT = GPG_AGENT_INFO= LC_ALL=C
30
31 TESTS = from-classic.test \
32         extended-private-key-format.test
33
34 TEST_FILES = from-classic.gpghome/pubring.gpg.asc \
35              from-classic.gpghome/secring.gpg.asc \
36              from-classic.gpghome/trustdb.gpg.asc \
37              extended-private-key-format.gpghome/trustdb.gpg.asc \
38              extended-private-key-format.gpghome/pubring.kbx.asc \
39              extended-private-key-format.gpghome/private-keys-v1.d/13FDB8809B17C5547779F9D205C45F47CE0217CE.key.asc \
40              extended-private-key-format.gpghome/private-keys-v1.d/343D8AF79796EE107D645A2787A9D9252F924E6F.key.asc \
41              extended-private-key-format.gpghome/private-keys-v1.d/8B5ABF3EF9EB8D96B91A0B8C2C4401C91C834C34.key.asc
42
43 EXTRA_DIST = $(TESTS) $(TEST_FILES)
44
45 CLEANFILES = prepared.stamp x y yy z out err  $(data_files) \
46              plain-1 plain-2 plain-3 trustdb.gpg *.lock .\#lk* \
47              *.test.log gpg_dearmor gpg.conf gpg-agent.conf S.gpg-agent \
48              pubring.gpg pubring.gpg~ pubring.kbx pubring.kbx~ \
49              secring.gpg pubring.pkr secring.skr \
50              gnupg-test.stop random_seed gpg-agent.log tofu.db
51
52 clean-local:
53         -rm -rf from-classic.gpghome/*.gpg
54
55 # We need to depend on a couple of programs so that the tests don't
56 # start before all programs are built.
57 all-local: $(required_pgms)