summaryrefslogtreecommitdiff
path: root/examples/tests.mk
blob: 807a3453fbe975010e3a7de41506c5c67aa2626e (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
LOG_COMPILER = abs_builddir=$(abs_builddir) \
EXEEXT=$(EXEEXT) SED=$(SED) AWK=$(AWK) SHELL=$(SHELL) \
 $(SHELL) $(srcdir)/tests/runTest.sh

# split tests into fast and slow, so we can run just the fast ones

SLOW_TESTS =\
examples/bigxml-dtd\
examples/bigxml-embed-ref\
examples/bigxml-embed\
examples/bigxml-relaxng\
examples/bigxml-well-formed\
examples/bigxml-xsd

QUICK_TESTS =\
examples/c14n-default-attr\
examples/c14n-newlines\
examples/c14n1\
examples/c14n2\
examples/command-help\
examples/count1\
examples/countnode1\
examples/delete1\
examples/dtd1\
examples/dtd2\
examples/dtd3\
examples/dtd4\
examples/ed-2op\
examples/ed-append\
examples/ed-backref-delete\
examples/ed-backref1\
examples/ed-backref2\
examples/ed-expr\
examples/ed-insert\
examples/ed-literal\
examples/ed-move\
examples/ed-namespace\
examples/ed-nop\
examples/ed-subnode\
examples/elem1\
examples/elem2\
examples/elem3\
examples/elem-depth\
examples/elem-uniq\
examples/escape1\
examples/exslt-ed\
examples/exslt1\
examples/external-entity\
examples/findfile1\
examples/genxml1\
examples/hello1\
examples/localname1\
examples/look1\
examples/move1\
examples/N-order\
examples/noindent1\
examples/ns1\
examples/pyx\
examples/pyx-ns\
examples/recover1\
examples/rename-attr1\
examples/rename-elem1\
examples/schema1\
examples/sel-literal\
examples/sel-if\
examples/sel-many-values\
examples/sel-root\
examples/sel-xpath-c\
examples/sel-xpath-i\
examples/sel-xpath-m\
examples/sel-xpath-v\
examples/sel1\
examples/sort1\
examples/sort2\
examples/sort3\
examples/structure1\
examples/sum1\
examples/tab1\
examples/table1\
examples/table2\
examples/table3\
examples/unicode1\
examples/update-attr1\
examples/update-elem1\
examples/valid1\
examples/xinclude1\
examples/xsl-param1\
examples/xsl-sum1

# default to all the tests
TESTS = $(SLOW_TESTS) $(QUICK_TESTS)

# qcheck is just tests listed in QUICK_TESTS
qcheck :
	@$(MAKE) TESTS="$(QUICK_TESTS)" check

XFAIL_TESTS =\
examples/bigxml-dtd\
examples/ed-namespace

if !HAVE_EXSLT_XPATH_REGISTER
XFAIL_TESTS += examples/exslt-ed
endif