1 | <RegressionTests>
|
---|
2 | <!--
|
---|
3 | Within the following test descriptions the possible elements are:
|
---|
4 | Element Name Description
|
---|
5 | testname Plain text name of test
|
---|
6 | execpath pathname for test program(s)
|
---|
7 | testprog program to run for the test
|
---|
8 | flag flags for program (may have several)
|
---|
9 | file filename of input file (several, or glob ok)
|
---|
10 | exclfile filename to be excuded (several, or glob ok)
|
---|
11 | srcdir global source directory for input file(s)
|
---|
12 | srcsub subdirectory for input
|
---|
13 | resdir directory for results file(s)
|
---|
14 | ressub subdirectory for results
|
---|
15 | resext extension for expected result
|
---|
16 | reserrext extension for error result ('None' => no chk)
|
---|
17 | extarg additional argument for command
|
---|
18 | errexcl string to ignore when checking diffs
|
---|
19 | stdin pipe input file to stdin
|
---|
20 | -->
|
---|
21 |
|
---|
22 | <!--
|
---|
23 | Note: These defaults are set to run from the root of the build directory
|
---|
24 | -->
|
---|
25 | <defaults>
|
---|
26 | <testname>noname</testname>
|
---|
27 | <!-- <execpath>win32/bin.msvc</execpath> -->
|
---|
28 | <execpath>.</execpath>
|
---|
29 | <testprog>xmllint</testprog>
|
---|
30 | <srcdir>test</srcdir>
|
---|
31 | <resdir>result</resdir>
|
---|
32 | <file>*.xml</file>
|
---|
33 | <reserrext>err</reserrext>
|
---|
34 | <errexcl/>
|
---|
35 | </defaults>
|
---|
36 |
|
---|
37 | <test>
|
---|
38 | <testname>XML Regression Tests</testname>
|
---|
39 | <errexcl>failed to load external entity</errexcl>
|
---|
40 | </test>
|
---|
41 | <test>
|
---|
42 | <testname>XML Entity Subst Regression Tests</testname>
|
---|
43 | <ressub>noent</ressub>
|
---|
44 | <flag>--noent</flag>
|
---|
45 | </test>
|
---|
46 | <test>
|
---|
47 | <testname>XML Namespaces Regression Tests</testname>
|
---|
48 | <srcsub>namespaces</srcsub>
|
---|
49 | <ressub>namespaces</ressub>
|
---|
50 | </test>
|
---|
51 | <test>
|
---|
52 | <testname>xml:id Regression Tests</testname>
|
---|
53 | <testprog>testXPath</testprog>
|
---|
54 | <srcsub>xmlid</srcsub>
|
---|
55 | <ressub>xmlid</ressub>
|
---|
56 | <flag>-i</flag>
|
---|
57 | <file>id_*.xml</file>
|
---|
58 | <extarg>"id('bar')"</extarg>
|
---|
59 | </test>
|
---|
60 | <test>
|
---|
61 | <testname>Error Cases Regression Tests</testname>
|
---|
62 | <srcsub>errors</srcsub>
|
---|
63 | <ressub>errors</ressub>
|
---|
64 | </test>
|
---|
65 | <test>
|
---|
66 | <testname>Error Cases Stream Regression Tests</testname>
|
---|
67 | <srcsub>errors</srcsub>
|
---|
68 | <ressub>errors</ressub>
|
---|
69 | <reserrext>str</reserrext>
|
---|
70 | <flag>--stream</flag>
|
---|
71 | </test>
|
---|
72 | <test>
|
---|
73 | <testname>Reader Regression Tests</testname>
|
---|
74 | <resext>rdr</resext>
|
---|
75 | <flag>--nonet</flag>
|
---|
76 | <flag>--debug</flag>
|
---|
77 | <flag>--stream</flag>
|
---|
78 | <file>*</file>
|
---|
79 | <reserrext>None</reserrext>
|
---|
80 | </test>
|
---|
81 | <test>
|
---|
82 | <testname>Walker Regression Tests</testname>
|
---|
83 | <resext>rdr</resext>
|
---|
84 | <flag>--nonet</flag>
|
---|
85 | <flag>--debug</flag>
|
---|
86 | <flag>--walker</flag>
|
---|
87 | <file>*</file>
|
---|
88 | <reserrext>None</reserrext>
|
---|
89 | </test>
|
---|
90 | <test>
|
---|
91 | <testname>Reader Entities Substitution Regression Tests</testname>
|
---|
92 | <resext>rde</resext>
|
---|
93 | <flag>--nonet</flag>
|
---|
94 | <flag>--debug</flag>
|
---|
95 | <flag>--stream</flag>
|
---|
96 | <flag>--noent</flag>
|
---|
97 | <file>*</file>
|
---|
98 | <reserrext>None</reserrext>
|
---|
99 | </test>
|
---|
100 | <test>
|
---|
101 | <testname>SAX Callbacks Regression Tests</testname>
|
---|
102 | <testprog>testSAX</testprog>
|
---|
103 | <resext>sax</resext>
|
---|
104 | <file>*</file>
|
---|
105 | <exclfile>utf16*.xml</exclfile>
|
---|
106 | <reserrext>None</reserrext>
|
---|
107 | </test>
|
---|
108 | <test>
|
---|
109 | <testname>XML Push Regression Tests</testname>
|
---|
110 | <flag>--push</flag>
|
---|
111 | <errexcl>failed to load external entity</errexcl>
|
---|
112 | </test>
|
---|
113 | <test>
|
---|
114 | <testname>HTML Regression Tests</testname>
|
---|
115 | <testprog>testHTML</testprog>
|
---|
116 | <srcsub>HTML</srcsub>
|
---|
117 | <ressub>HTML</ressub>
|
---|
118 | <file>*</file>
|
---|
119 | <exclfile>wired.html</exclfile>
|
---|
120 | </test>
|
---|
121 | <test>
|
---|
122 | <testname>Push HTML Regression Tests</testname>
|
---|
123 | <testprog>testHTML</testprog>
|
---|
124 | <flag>--push</flag>
|
---|
125 | <srcsub>HTML</srcsub>
|
---|
126 | <ressub>HTML</ressub>
|
---|
127 | <file>*</file>
|
---|
128 | </test>
|
---|
129 | <test>
|
---|
130 | <testname>HTML SAX Regression Tests</testname>
|
---|
131 | <testprog>testHTML</testprog>
|
---|
132 | <flag>--sax</flag>
|
---|
133 | <srcsub>HTML</srcsub>
|
---|
134 | <ressub>HTML</ressub>
|
---|
135 | <resext>sax</resext>
|
---|
136 | <reserrext>None</reserrext>
|
---|
137 | <file>*</file>
|
---|
138 | </test>
|
---|
139 | <test>
|
---|
140 | <testname>Push HTML SAX Regression Tests</testname>
|
---|
141 | <testprog>testHTML</testprog>
|
---|
142 | <flag>--sax</flag>
|
---|
143 | <flag>--push</flag>
|
---|
144 | <srcsub>HTML</srcsub>
|
---|
145 | <ressub>HTML</ressub>
|
---|
146 | <resext>sax</resext>
|
---|
147 | <reserrext>None</reserrext>
|
---|
148 | <file>*</file>
|
---|
149 | </test>
|
---|
150 | <test>
|
---|
151 | <testname>Valid Documents Regression Tests</testname>
|
---|
152 | <srcsub>VCM</srcsub>
|
---|
153 | <ressub>VCM</ressub>
|
---|
154 | <resext>None</resext>
|
---|
155 | <reserrext>None</reserrext>
|
---|
156 | <file>*</file>
|
---|
157 | <flag>--valid</flag>
|
---|
158 | <flag>--noout</flag>
|
---|
159 | <flag>--nowarning</flag>
|
---|
160 | </test>
|
---|
161 | <test>
|
---|
162 | <testname>Validity Checking Regression Tests</testname>
|
---|
163 | <srcsub>VC</srcsub>
|
---|
164 | <ressub>VC</ressub>
|
---|
165 | <resext>None</resext>
|
---|
166 | <reserrext/>
|
---|
167 | <file>*</file>
|
---|
168 | <flag>--valid</flag>
|
---|
169 | <flag>--noout</flag>
|
---|
170 | </test>
|
---|
171 | <test>
|
---|
172 | <testname>General Documents Valid Regression Tests</testname>
|
---|
173 | <srcsub>valid</srcsub>
|
---|
174 | <ressub>valid</ressub>
|
---|
175 | <file>*</file>
|
---|
176 | <flag>--valid</flag>
|
---|
177 | </test>
|
---|
178 | <test>
|
---|
179 | <testname>URI Module Regression Tests (1)</testname>
|
---|
180 | <testprog>testURI</testprog>
|
---|
181 | <srcsub>URI</srcsub>
|
---|
182 | <stdin/>
|
---|
183 | <ressub>URI</ressub>
|
---|
184 | <reserrext>None</reserrext>
|
---|
185 | <file>*.data</file>
|
---|
186 | <!-- Note - the following arg needs to use ", not ' -->
|
---|
187 | <flag>-base "http://foo.com/path/to/index.html?orig#help"</flag>
|
---|
188 | </test>
|
---|
189 | <test>
|
---|
190 | <testname>URI Module Regression Tests (2)</testname>
|
---|
191 | <testprog>testURI</testprog>
|
---|
192 | <srcsub>URI</srcsub>
|
---|
193 | <stdin/>
|
---|
194 | <ressub>URI</ressub>
|
---|
195 | <reserrext>None</reserrext>
|
---|
196 | <file>*.uri</file>
|
---|
197 | </test>
|
---|
198 | <test>
|
---|
199 | <testname>XPath Regression Tests (1)</testname>
|
---|
200 | <testprog>testXPath</testprog>
|
---|
201 | <srcsub>XPath/expr</srcsub>
|
---|
202 | <ressub>XPath/expr</ressub>
|
---|
203 | <file>*</file>
|
---|
204 | <flag>-f</flag>
|
---|
205 | <flag>--expr</flag>
|
---|
206 | </test>
|
---|
207 | <test>
|
---|
208 | <testname>XInclude Regression Tests</testname>
|
---|
209 | <srcsub>XInclude/docs</srcsub>
|
---|
210 | <ressub>XInclude</ressub>
|
---|
211 | <file>*</file>
|
---|
212 | <flag>--nowarning</flag>
|
---|
213 | <flag>--xinclude</flag>
|
---|
214 | </test>
|
---|
215 | <test>
|
---|
216 | <testname>XInclude xmlReader Regression Tests</testname>
|
---|
217 | <srcsub>XInclude/docs</srcsub>
|
---|
218 | <ressub>XInclude</ressub>
|
---|
219 | <resext>rdr</resext>
|
---|
220 | <file>*</file>
|
---|
221 | <flag>--nowarning</flag>
|
---|
222 | <flag>--xinclude</flag>
|
---|
223 | <flag>--stream</flag>
|
---|
224 | <flag>--debug</flag>
|
---|
225 | </test>
|
---|
226 | </RegressionTests>
|
---|