summaryrefslogtreecommitdiffstats
path: root/checks/Makefile.am
blob: b00dd1aabac803b687ba17f47b50362d8718c1ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
## Process this file with automake to create Makefile.in

TESTS = version.test mds.test \
	decrypt.test decrypt-dsa.test \
	sigs.test sigs-dsa.test \
	encrypt.test encrypt-dsa.test  \
	clearsig.test encryptp.test detach.test \
	armsigs.test armencrypt.test armencryptp.test \
	signencrypt.test signencrypt-dsa.test \
	armsignencrypt.test armdetach.test \
	armdetachm.test detachm.test genkey1024.test \
	conventional.test


TEST_FILES = pubring.asc secring.asc gnupg.asc plain-1 plain-2 plain-3o.asc \
	     plain-1.asc plain-2.asc plain-3.asc plain-1-pgp.asc \
	     pubring.pkr.asc secring.skr.asc

DATA_FILES = data-500 data-9000 data-32000 data-80000

EXTRA_DIST = defs.inc run-gpg run-gpgm $(TESTS) $(TEST_FILES)
CLEANFILES = prepared.stamp x y z out err  $(DATA_FILES)

check: prepared.stamp

prepared.stamp: pubring.gpg secring.gpg gnupg.sig plain-3 \
		pubring.pkr secring.skr $(DATA_FILES)
	@echo "def" | ../g10/gpg -v --no-operation; \
	 echo timestamp >./prepared.stamp

pubring.gpg: pubring.asc
	../g10/gpgm --yes --dearmor -o pubring.gpg pubring.asc
secring.gpg: secring.asc
	../g10/gpgm --yes --dearmor -o secring.gpg secring.asc
gnupg.sig: gnupg.asc
	../g10/gpgm --yes --dearmor -o gnupg.sig gnupg.asc
plain-3: plain-3o.asc
	../g10/gpgm --yes --dearmor -o plain-3 plain-3o.asc
pubring.pkr: pubring.pkr.asc
	../g10/gpgm --yes --dearmor -o pubring.pkr pubring.pkr.asc
secring.skr: secring.skr.asc
	../g10/gpgm --yes --dearmor -o secring.skr secring.skr.asc

data-500:
	head -c 500 /dev/urandom >data-500
data-9000:
	head -c 9000 /dev/urandom >data-9000
data-32000:
	head -c 32000 /dev/urandom >data-32000
data-80000:
	head -c 80000 /dev/urandom >data-80000