new release
[gnupg.git] / checks / Makefile.am
1 ## Process this file with automake to create Makefile.in
2
3 TESTS = version.test \
4         decrypt.test decrypt-dsa.test \
5         sigs.test sigs-dsa.test \
6         encrypt.test encrypt-dsa.test  \
7         clearsig.test encryptp.test detach.test \
8         armsigs.test armencrypt.test armencryptp.test \
9         signencrypt.test signencrypt-dsa.test \
10         armsignencrypt.test armdetach.test \
11         armdetachm.test detachm.test genkey1024.test \
12         conventional.test
13
14
15 TEST_FILES = pubring.asc secring.asc gnupg.asc plain-1 plain-2 plain-3o.asc \
16              plain-1.asc plain-2.asc plain-3.asc plain-1-pgp.asc \
17              pubring.pkr.asc secring.skr.asc
18
19 DATA_FILES = data-500 data-9000 data-32000 data-80000
20
21 EXTRA_DIST = defs.inc run-gpg run-gpgm $(TESTS) $(TEST_FILES)
22 CLEANFILES = prepared.stamp x y z out err  $(DATA_FILES)
23
24 check: prepared.stamp
25
26 prepared.stamp: pubring.gpg secring.gpg gnupg.sig plain-3 \
27                 pubring.pkr secring.skr $(DATA_FILES)
28         @echo "def" | ../g10/gpg -v --no-operation; \
29          echo timestamp >./prepared.stamp
30
31 pubring.gpg: pubring.asc
32         ../g10/gpgm --yes --dearmor -o pubring.gpg pubring.asc
33 secring.gpg: secring.asc
34         ../g10/gpgm --yes --dearmor -o secring.gpg secring.asc
35 gnupg.sig: gnupg.asc
36         ../g10/gpgm --yes --dearmor -o gnupg.sig gnupg.asc
37 plain-3: plain-3o.asc
38         ../g10/gpgm --yes --dearmor -o plain-3 plain-3o.asc
39 pubring.pkr: pubring.pkr.asc
40         ../g10/gpgm --yes --dearmor -o pubring.pkr pubring.pkr.asc
41 secring.skr: secring.skr.asc
42         ../g10/gpgm --yes --dearmor -o secring.skr secring.skr.asc
43
44 data-500:
45         head -c 500 /dev/urandom >data-500
46 data-9000:
47         head -c 9000 /dev/urandom >data-9000
48 data-32000:
49         head -c 32000 /dev/urandom >data-32000
50 data-80000:
51         head -c 80000 /dev/urandom >data-80000
52
53