RunTest.bat 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  1. @echo off
  2. @rem This file must use CRLF linebreaks to function properly
  3. @rem and requires both pcretest and pcregrep
  4. @rem This file was originally contributed by Ralf Junker, and touched up by
  5. @rem Daniel Richard G. Tests 10-12 added by Philip H.
  6. @rem Philip H also changed test 3 to use "wintest" files.
  7. @rem
  8. @rem Updated by Tom Fortmann to support explicit test numbers on the command line.
  9. @rem Added argument validation and added error reporting.
  10. @rem
  11. @rem MS Windows batch file to run pcretest on testfiles with the correct
  12. @rem options.
  13. @rem
  14. @rem Sheri Pierce added logic to skip feature dependent tests
  15. @rem tests 4 5 9 15 and 18 require utf support
  16. @rem tests 6 7 10 16 and 19 require ucp support
  17. @rem 11 requires ucp and link size 2
  18. @rem 12 requires presence of jit support
  19. @rem 13 requires absence of jit support
  20. @rem Sheri P also added override tests for study and jit testing
  21. @rem Zoltan Herczeg added libpcre16 support
  22. @rem Zoltan Herczeg added libpcre32 support
  23. setlocal enabledelayedexpansion
  24. if [%srcdir%]==[] (
  25. if exist testdata\ set srcdir=.)
  26. if [%srcdir%]==[] (
  27. if exist ..\testdata\ set srcdir=..)
  28. if [%srcdir%]==[] (
  29. if exist ..\..\testdata\ set srcdir=..\..)
  30. if NOT exist %srcdir%\testdata\ (
  31. Error: echo distribution testdata folder not found!
  32. call :conferror
  33. exit /b 1
  34. goto :eof
  35. )
  36. if [%pcretest%]==[] set pcretest=.\pcretest.exe
  37. echo source dir is %srcdir%
  38. echo pcretest=%pcretest%
  39. if NOT exist %pcretest% (
  40. echo Error: %pcretest% not found!
  41. echo.
  42. call :conferror
  43. exit /b 1
  44. )
  45. %pcretest% -C linksize >NUL
  46. set link_size=%ERRORLEVEL%
  47. %pcretest% -C pcre8 >NUL
  48. set support8=%ERRORLEVEL%
  49. %pcretest% -C pcre16 >NUL
  50. set support16=%ERRORLEVEL%
  51. %pcretest% -C pcre32 >NUL
  52. set support32=%ERRORLEVEL%
  53. %pcretest% -C utf >NUL
  54. set utf=%ERRORLEVEL%
  55. %pcretest% -C ucp >NUL
  56. set ucp=%ERRORLEVEL%
  57. %pcretest% -C jit >NUL
  58. set jit=%ERRORLEVEL%
  59. if %support8% EQU 1 (
  60. if not exist testout8 md testout8
  61. if not exist testoutstudy8 md testoutstudy8
  62. if not exist testoutjit8 md testoutjit8
  63. )
  64. if %support16% EQU 1 (
  65. if not exist testout16 md testout16
  66. if not exist testoutstudy16 md testoutstudy16
  67. if not exist testoutjit16 md testoutjit16
  68. )
  69. if %support16% EQU 1 (
  70. if not exist testout32 md testout32
  71. if not exist testoutstudy32 md testoutstudy32
  72. if not exist testoutjit32 md testoutjit32
  73. )
  74. set do1=no
  75. set do2=no
  76. set do3=no
  77. set do4=no
  78. set do5=no
  79. set do6=no
  80. set do7=no
  81. set do8=no
  82. set do9=no
  83. set do10=no
  84. set do11=no
  85. set do12=no
  86. set do13=no
  87. set do14=no
  88. set do15=no
  89. set do16=no
  90. set do17=no
  91. set do18=no
  92. set do19=no
  93. set do20=no
  94. set do21=no
  95. set do22=no
  96. set do23=no
  97. set do24=no
  98. set do25=no
  99. set do26=no
  100. set all=yes
  101. for %%a in (%*) do (
  102. set valid=no
  103. for %%v in (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) do if %%v == %%a set valid=yes
  104. if "!valid!" == "yes" (
  105. set do%%a=yes
  106. set all=no
  107. ) else (
  108. echo Invalid test number - %%a!
  109. echo Usage %0 [ test_number ] ...
  110. echo Where test_number is one or more optional test numbers 1 through 26, default is all tests.
  111. exit /b 1
  112. )
  113. )
  114. set failed="no"
  115. if "%all%" == "yes" (
  116. set do1=yes
  117. set do2=yes
  118. set do3=yes
  119. set do4=yes
  120. set do5=yes
  121. set do6=yes
  122. set do7=yes
  123. set do8=yes
  124. set do9=yes
  125. set do10=yes
  126. set do11=yes
  127. set do12=yes
  128. set do13=yes
  129. set do14=yes
  130. set do15=yes
  131. set do16=yes
  132. set do17=yes
  133. set do18=yes
  134. set do19=yes
  135. set do20=yes
  136. set do21=yes
  137. set do22=yes
  138. set do23=yes
  139. set do24=yes
  140. set do25=yes
  141. set do26=yes
  142. )
  143. @echo RunTest.bat's pcretest output is written to newly created subfolders named
  144. @echo testout, testoutstudy and testoutjit.
  145. @echo.
  146. set mode=
  147. set bits=8
  148. :nextMode
  149. if "%mode%" == "" (
  150. if %support8% EQU 0 goto modeSkip
  151. echo.
  152. echo ---- Testing 8-bit library ----
  153. echo.
  154. )
  155. if "%mode%" == "-16" (
  156. if %support16% EQU 0 goto modeSkip
  157. echo.
  158. echo ---- Testing 16-bit library ----
  159. echo.
  160. )
  161. if "%mode%" == "-32" (
  162. if %support32% EQU 0 goto modeSkip
  163. echo.
  164. echo ---- Testing 32-bit library ----
  165. echo.
  166. )
  167. if "%do1%" == "yes" call :do1
  168. if "%do2%" == "yes" call :do2
  169. if "%do3%" == "yes" call :do3
  170. if "%do4%" == "yes" call :do4
  171. if "%do5%" == "yes" call :do5
  172. if "%do6%" == "yes" call :do6
  173. if "%do7%" == "yes" call :do7
  174. if "%do8%" == "yes" call :do8
  175. if "%do9%" == "yes" call :do9
  176. if "%do10%" == "yes" call :do10
  177. if "%do11%" == "yes" call :do11
  178. if "%do12%" == "yes" call :do12
  179. if "%do13%" == "yes" call :do13
  180. if "%do14%" == "yes" call :do14
  181. if "%do15%" == "yes" call :do15
  182. if "%do16%" == "yes" call :do16
  183. if "%do17%" == "yes" call :do17
  184. if "%do18%" == "yes" call :do18
  185. if "%do19%" == "yes" call :do19
  186. if "%do20%" == "yes" call :do20
  187. if "%do21%" == "yes" call :do21
  188. if "%do22%" == "yes" call :do22
  189. if "%do23%" == "yes" call :do23
  190. if "%do24%" == "yes" call :do24
  191. if "%do25%" == "yes" call :do25
  192. if "%do26%" == "yes" call :do26
  193. :modeSkip
  194. if "%mode%" == "" (
  195. set mode=-16
  196. set bits=16
  197. goto nextMode
  198. )
  199. if "%mode%" == "-16" (
  200. set mode=-32
  201. set bits=32
  202. goto nextMode
  203. )
  204. @rem If mode is -32, testing is finished
  205. if %failed% == "yes" (
  206. echo In above output, one or more of the various tests failed!
  207. exit /b 1
  208. )
  209. echo All OK
  210. goto :eof
  211. :runsub
  212. @rem Function to execute pcretest and compare the output
  213. @rem Arguments are as follows:
  214. @rem
  215. @rem 1 = test number
  216. @rem 2 = outputdir
  217. @rem 3 = test name use double quotes
  218. @rem 4 - 9 = pcretest options
  219. if [%1] == [] (
  220. echo Missing test number argument!
  221. exit /b 1
  222. )
  223. if [%2] == [] (
  224. echo Missing outputdir!
  225. exit /b 1
  226. )
  227. if [%3] == [] (
  228. echo Missing test name argument!
  229. exit /b 1
  230. )
  231. set testinput=testinput%1
  232. set testoutput=testoutput%1
  233. if exist %srcdir%\testdata\win%testinput% (
  234. set testinput=wintestinput%1
  235. set testoutput=wintestoutput%1
  236. )
  237. echo Test %1: %3
  238. %pcretest% %mode% %4 %5 %6 %7 %8 %9 %srcdir%\testdata\%testinput% >%2%bits%\%testoutput%
  239. if errorlevel 1 (
  240. echo. failed executing command-line:
  241. echo. %pcretest% %mode% %4 %5 %6 %7 %8 %9 %srcdir%\testdata\%testinput% ^>%2%bits%\%testoutput%
  242. set failed="yes"
  243. goto :eof
  244. )
  245. set type=
  246. if [%1]==[11] (
  247. set type=-%bits%
  248. )
  249. if [%1]==[18] (
  250. set type=-%bits%
  251. )
  252. if [%1]==[21] (
  253. set type=-%bits%
  254. )
  255. if [%1]==[22] (
  256. set type=-%bits%
  257. )
  258. fc /n %srcdir%\testdata\%testoutput%%type% %2%bits%\%testoutput% >NUL
  259. if errorlevel 1 (
  260. echo. failed comparison: fc /n %srcdir%\testdata\%testoutput% %2%bits%\%testoutput%
  261. if [%1]==[2] (
  262. echo.
  263. echo ** Test 2 requires a lot of stack. PCRE can be configured to
  264. echo ** use heap for recursion. Otherwise, to pass Test 2
  265. echo ** you generally need to allocate 8 mb stack to PCRE.
  266. echo ** See the 'pcrestack' page for a discussion of PCRE's
  267. echo ** stack usage.
  268. echo.
  269. )
  270. if [%1]==[3] (
  271. echo.
  272. echo ** Test 3 failure usually means french locale is not
  273. echo ** available on the system, rather than a bug or problem with PCRE.
  274. echo.
  275. goto :eof
  276. )
  277. set failed="yes"
  278. goto :eof
  279. )
  280. echo. Passed.
  281. goto :eof
  282. :do1
  283. call :runsub 1 testout "Main functionality (Compatible with Perl >= 5.10)" -q
  284. call :runsub 1 testoutstudy "Test with Study Override" -q -s
  285. if %jit% EQU 1 call :runsub 1 testoutjit "Test with JIT Override" -q -s+
  286. goto :eof
  287. :do2
  288. call :runsub 2 testout "API, errors, internals, and non-Perl stuff" -q
  289. call :runsub 2 testoutstudy "Test with Study Override" -q -s
  290. if %jit% EQU 1 call :runsub 2 testoutjit "Test with JIT Override" -q -s+
  291. goto :eof
  292. :do3
  293. call :runsub 3 testout "Locale-specific features" -q
  294. call :runsub 3 testoutstudy "Test with Study Override" -q -s
  295. if %jit% EQU 1 call :runsub 3 testoutjit "Test with JIT Override" -q -s+
  296. goto :eof
  297. :do4
  298. if %utf% EQU 0 (
  299. echo Test 4 Skipped due to absence of UTF-%bits% support.
  300. goto :eof
  301. )
  302. call :runsub 4 testout "UTF-%bits% support - (Compatible with Perl >= 5.10)" -q
  303. call :runsub 4 testoutstudy "Test with Study Override" -q -s
  304. if %jit% EQU 1 call :runsub 4 testoutjit "Test with JIT Override" -q -s+
  305. goto :eof
  306. :do5
  307. if %utf% EQU 0 (
  308. echo Test 5 Skipped due to absence of UTF-%bits% support.
  309. goto :eof
  310. )
  311. call :runsub 5 testout "API, internals, and non-Perl stuff for UTF-%bits%" -q
  312. call :runsub 5 testoutstudy "Test with Study Override" -q -s
  313. if %jit% EQU 1 call :runsub 5 testoutjit "Test with JIT Override" -q -s+
  314. goto :eof
  315. :do6
  316. if %ucp% EQU 0 (
  317. echo Test 6 Skipped due to absence of Unicode property support.
  318. goto :eof
  319. )
  320. call :runsub 6 testout "Unicode property support (Compatible with Perl >= 5.10)" -q
  321. call :runsub 6 testoutstudy "Test with Study Override" -q -s
  322. if %jit% EQU 1 call :runsub 6 testoutjit "Test with JIT Override" -q -s+
  323. goto :eof
  324. :do7
  325. if %ucp% EQU 0 (
  326. echo Test 7 Skipped due to absence of Unicode property support.
  327. goto :eof
  328. )
  329. call :runsub 7 testout "API, internals, and non-Perl stuff for Unicode property support" -q
  330. call :runsub 7 testoutstudy "Test with Study Override" -q -s
  331. if %jit% EQU 1 call :runsub 7 testoutjit "Test with JIT Override" -q -s+
  332. goto :eof
  333. :do8
  334. call :runsub 8 testout "DFA matching main functionality" -q -dfa
  335. call :runsub 8 testoutstudy "Test with Study Override" -q -dfa -s
  336. goto :eof
  337. :do9
  338. if %utf% EQU 0 (
  339. echo Test 9 Skipped due to absence of UTF-%bits% support.
  340. goto :eof
  341. )
  342. call :runsub 9 testout "DFA matching with UTF-%bits%" -q -dfa
  343. call :runsub 9 testoutstudy "Test with Study Override" -q -dfa -s
  344. goto :eof
  345. :do10
  346. if %ucp% EQU 0 (
  347. echo Test 10 Skipped due to absence of Unicode property support.
  348. goto :eof
  349. )
  350. call :runsub 10 testout "DFA matching with Unicode properties" -q -dfa
  351. call :runsub 10 testoutstudy "Test with Study Override" -q -dfa -s
  352. goto :eof
  353. :do11
  354. if NOT %link_size% EQU 2 (
  355. echo Test 11 Skipped because link size is not 2.
  356. goto :eof
  357. )
  358. if %ucp% EQU 0 (
  359. echo Test 11 Skipped due to absence of Unicode property support.
  360. goto :eof
  361. )
  362. call :runsub 11 testout "Internal offsets and code size tests" -q
  363. call :runsub 11 testoutstudy "Test with Study Override" -q -s
  364. goto :eof
  365. :do12
  366. if %jit% EQU 0 (
  367. echo Test 12 Skipped due to absence of JIT support.
  368. goto :eof
  369. )
  370. call :runsub 12 testout "JIT-specific features (JIT available)" -q
  371. goto :eof
  372. :do13
  373. if %jit% EQU 1 (
  374. echo Test 13 Skipped due to presence of JIT support.
  375. goto :eof
  376. )
  377. call :runsub 13 testout "JIT-specific features (JIT not available)" -q
  378. goto :eof
  379. :do14
  380. if NOT %bits% EQU 8 (
  381. echo Test 14 Skipped when running 16/32-bit tests.
  382. goto :eof
  383. )
  384. copy /Y %srcdir%\testdata\saved16 testsaved16
  385. copy /Y %srcdir%\testdata\saved32 testsaved32
  386. call :runsub 14 testout "Specials for the basic 8-bit library" -q
  387. call :runsub 14 testoutstudy "Test with Study Override" -q -s
  388. if %jit% EQU 1 call :runsub 14 testoutjit "Test with JIT Override" -q -s+
  389. goto :eof
  390. :do15
  391. if NOT %bits% EQU 8 (
  392. echo Test 15 Skipped when running 16/32-bit tests.
  393. goto :eof
  394. )
  395. if %utf% EQU 0 (
  396. echo Test 15 Skipped due to absence of UTF-%bits% support.
  397. goto :eof
  398. )
  399. call :runsub 15 testout "Specials for the 8-bit library with UTF-%bits% support" -q
  400. call :runsub 15 testoutstudy "Test with Study Override" -q -s
  401. if %jit% EQU 1 call :runsub 15 testoutjit "Test with JIT Override" -q -s+
  402. goto :eof
  403. :do16
  404. if NOT %bits% EQU 8 (
  405. echo Test 16 Skipped when running 16/32-bit tests.
  406. goto :eof
  407. )
  408. if %ucp% EQU 0 (
  409. echo Test 16 Skipped due to absence of Unicode property support.
  410. goto :eof
  411. )
  412. call :runsub 16 testout "Specials for the 8-bit library with Unicode propery support" -q
  413. call :runsub 16 testoutstudy "Test with Study Override" -q -s
  414. if %jit% EQU 1 call :runsub 16 testoutjit "Test with JIT Override" -q -s+
  415. goto :eof
  416. :do17
  417. if %bits% EQU 8 (
  418. echo Test 17 Skipped when running 8-bit tests.
  419. goto :eof
  420. )
  421. call :runsub 17 testout "Specials for the basic 16/32-bit library" -q
  422. call :runsub 17 testoutstudy "Test with Study Override" -q -s
  423. if %jit% EQU 1 call :runsub 17 testoutjit "Test with JIT Override" -q -s+
  424. goto :eof
  425. :do18
  426. if %bits% EQU 8 (
  427. echo Test 18 Skipped when running 8-bit tests.
  428. goto :eof
  429. )
  430. if %utf% EQU 0 (
  431. echo Test 18 Skipped due to absence of UTF-%bits% support.
  432. goto :eof
  433. )
  434. call :runsub 18 testout "Specials for the 16/32-bit library with UTF-%bits% support" -q
  435. call :runsub 18 testoutstudy "Test with Study Override" -q -s
  436. if %jit% EQU 1 call :runsub 18 testoutjit "Test with JIT Override" -q -s+
  437. goto :eof
  438. :do19
  439. if %bits% EQU 8 (
  440. echo Test 19 Skipped when running 8-bit tests.
  441. goto :eof
  442. )
  443. if %ucp% EQU 0 (
  444. echo Test 19 Skipped due to absence of Unicode property support.
  445. goto :eof
  446. )
  447. call :runsub 19 testout "Specials for the 16/32-bit library with Unicode property support" -q
  448. call :runsub 19 testoutstudy "Test with Study Override" -q -s
  449. if %jit% EQU 1 call :runsub 19 testoutjit "Test with JIT Override" -q -s+
  450. goto :eof
  451. :do20
  452. if %bits% EQU 8 (
  453. echo Test 20 Skipped when running 8-bit tests.
  454. goto :eof
  455. )
  456. call :runsub 20 testout "DFA specials for the basic 16/32-bit library" -q -dfa
  457. call :runsub 20 testoutstudy "Test with Study Override" -q -dfa -s
  458. goto :eof
  459. :do21
  460. if %bits% EQU 8 (
  461. echo Test 21 Skipped when running 8-bit tests.
  462. goto :eof
  463. )
  464. if NOT %link_size% EQU 2 (
  465. echo Test 21 Skipped because link size is not 2.
  466. goto :eof
  467. )
  468. copy /Y %srcdir%\testdata\saved8 testsaved8
  469. copy /Y %srcdir%\testdata\saved16LE-1 testsaved16LE-1
  470. copy /Y %srcdir%\testdata\saved16BE-1 testsaved16BE-1
  471. copy /Y %srcdir%\testdata\saved32LE-1 testsaved32LE-1
  472. copy /Y %srcdir%\testdata\saved32BE-1 testsaved32BE-1
  473. call :runsub 21 testout "Reloads for the basic 16/32-bit library" -q
  474. call :runsub 21 testoutstudy "Test with Study Override" -q -s
  475. if %jit% EQU 1 call :runsub 21 testoutjit "Test with JIT Override" -q -s+
  476. goto :eof
  477. :do22
  478. if %bits% EQU 8 (
  479. echo Test 22 Skipped when running 8-bit tests.
  480. goto :eof
  481. )
  482. if %utf% EQU 0 (
  483. echo Test 22 Skipped due to absence of UTF-%bits% support.
  484. goto :eof
  485. )
  486. if NOT %link_size% EQU 2 (
  487. echo Test 22 Skipped because link size is not 2.
  488. goto :eof
  489. )
  490. copy /Y %srcdir%\testdata\saved16LE-2 testsaved16LE-2
  491. copy /Y %srcdir%\testdata\saved16BE-2 testsaved16BE-2
  492. copy /Y %srcdir%\testdata\saved32LE-2 testsaved32LE-2
  493. copy /Y %srcdir%\testdata\saved32BE-2 testsaved32BE-2
  494. call :runsub 22 testout "Reloads for the 16/32-bit library with UTF-16/32 support" -q
  495. call :runsub 22 testoutstudy "Test with Study Override" -q -s
  496. if %jit% EQU 1 call :runsub 22 testoutjit "Test with JIT Override" -q -s+
  497. goto :eof
  498. :do23
  499. if NOT %bits% EQU 16 (
  500. echo Test 23 Skipped when running 8/32-bit tests.
  501. goto :eof
  502. )
  503. call :runsub 23 testout "Specials for the 16-bit library" -q
  504. call :runsub 23 testoutstudy "Test with Study Override" -q -s
  505. if %jit% EQU 1 call :runsub 23 testoutjit "Test with JIT Override" -q -s+
  506. goto :eof
  507. :do24
  508. if NOT %bits% EQU 16 (
  509. echo Test 24 Skipped when running 8/32-bit tests.
  510. goto :eof
  511. )
  512. if %utf% EQU 0 (
  513. echo Test 24 Skipped due to absence of UTF-%bits% support.
  514. goto :eof
  515. )
  516. call :runsub 24 testout "Specials for the 16-bit library with UTF-16 support" -q
  517. call :runsub 24 testoutstudy "Test with Study Override" -q -s
  518. if %jit% EQU 1 call :runsub 24 testoutjit "Test with JIT Override" -q -s+
  519. goto :eof
  520. :do25
  521. if NOT %bits% EQU 32 (
  522. echo Test 25 Skipped when running 8/16-bit tests.
  523. goto :eof
  524. )
  525. call :runsub 25 testout "Specials for the 32-bit library" -q
  526. call :runsub 25 testoutstudy "Test with Study Override" -q -s
  527. if %jit% EQU 1 call :runsub 25 testoutjit "Test with JIT Override" -q -s+
  528. goto :eof
  529. :do26
  530. if NOT %bits% EQU 32 (
  531. echo Test 26 Skipped when running 8/16-bit tests.
  532. goto :eof
  533. )
  534. if %utf% EQU 0 (
  535. echo Test 26 Skipped due to absence of UTF-%bits% support.
  536. goto :eof
  537. )
  538. call :runsub 26 testout "Specials for the 32-bit library with UTF-32 support" -q
  539. call :runsub 26 testoutstudy "Test with Study Override" -q -s
  540. if %jit% EQU 1 call :runsub 26 testoutjit "Test with JIT Override" -q -s+
  541. goto :eof
  542. :conferror
  543. @echo.
  544. @echo Either your build is incomplete or you have a configuration error.
  545. @echo.
  546. @echo If configured with cmake and executed via "make test" or the MSVC "RUN_TESTS"
  547. @echo project, pcre_test.bat defines variables and automatically calls RunTest.bat.
  548. @echo For manual testing of all available features, after configuring with cmake
  549. @echo and building, you can run the built pcre_test.bat. For best results with
  550. @echo cmake builds and tests avoid directories with full path names that include
  551. @echo spaces for source or build.
  552. @echo.
  553. @echo Otherwise, if the build dir is in a subdir of the source dir, testdata needed
  554. @echo for input and verification should be found automatically when (from the
  555. @echo location of the the built exes) you call RunTest.bat. By default RunTest.bat
  556. @echo runs all tests compatible with the linked pcre library but it can be given
  557. @echo a test number as an argument.
  558. @echo.
  559. @echo If the build dir is not under the source dir you can either copy your exes
  560. @echo to the source folder or copy RunTest.bat and the testdata folder to the
  561. @echo location of your built exes and then run RunTest.bat.
  562. @echo.
  563. goto :eof