regressions.xml 6.2 KB

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