blob: 78b074aee693ee2c3d0af5b916585c5b3cf3591b (
plain) (
blame)
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
54
55
56
57
58
59
|
# $Id$
all: protocol-samples
clean:
rm -rf smoketest.dir left-right-protocol-samples publication-protocol-samples
protocol-samples: left-right-protocol-samples/.stamp publication-protocol-samples/.stamp
left-right-protocol-samples/.stamp: left-right-protocol-samples.xml split-protocol-samples.xsl
rm -rf left-right-protocol-samples
mkdir left-right-protocol-samples
xsltproc --param verbose 0 --stringparam dir left-right-protocol-samples split-protocol-samples.xsl left-right-protocol-samples.xml
touch $@
publication-protocol-samples/.stamp: publication-protocol-samples.xml split-protocol-samples.xsl
rm -rf publication-protocol-samples
mkdir publication-protocol-samples
xsltproc --param verbose 0 --stringparam dir publication-protocol-samples split-protocol-samples.xsl publication-protocol-samples.xml
touch $@
parse-test: protocol-samples
python xml-parse-test.py
all-tests:: parse-test
all-tests::
python smoketest.py -y smoketest.1.yaml
all-tests::
python smoketest.py -y smoketest.2.yaml
test all-tests::
python smoketest.py -y smoketest.3.yaml
all-tests::
python smoketest.py -y smoketest.4.yaml
all-tests::
python smoketest.py -y smoketest.5.yaml
test all-tests::
python smoketest.py -y smoketest.6.yaml
all-tests::
python smoketest.py -y smoketest.7.yaml
profile: all
find smoketest.dir -name '*.prof' -delete
python smoketest.py -y smoketest.2.yaml -p
for i in smoketest.dir/*.prof; do python -c "import pstats;pstats.Stats('$$i').sort_stats('time').print_stats()"; done
# This isn't a full exercise of the yamltest framework, but is roughly equivilent to
# what "make test" did in the /myrpki directory.
yamltest:
rm -rf yamltest.dir
python sql-cleaner.py
python yamltest.py
|