/[pcre]/code/trunk/RunTest.bat
ViewVC logotype

Contents of /code/trunk/RunTest.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 465 - (hide annotations) (download)
Mon Oct 19 11:12:04 2009 UTC (4 years, 11 months ago) by ph10
File MIME type: text/plain
File size: 2142 byte(s)
Update Windows testing files for new tests.

1 ph10 144 @rem This file was contributed by Ralf Junker, and touched up by
2 ph10 448 @rem Daniel Richard G. Tests 10-12 added by Philip H.
3 ph10 249 @rem Philip H also changed test 3 to use "wintest" files.
4 ph10 144 @rem
5     @rem MS Windows batch file to run pcretest on testfiles with the correct
6     @rem options.
7     @rem
8     @rem Output is written to a newly created subfolder named "testdata".
9 nigel 93
10 ph10 144 setlocal
11 nigel 93
12 ph10 144 if [%srcdir%]==[] set srcdir=.
13     if [%pcretest%]==[] set pcretest=pcretest
14 nigel 93
15 ph10 144 if not exist testout md testout
16    
17     %pcretest% -q %srcdir%\testdata\testinput1 > testout\testoutput1
18     %pcretest% -q %srcdir%\testdata\testinput2 > testout\testoutput2
19 ph10 249 @rem %pcretest% -q %srcdir%\testdata\testinput3 > testout\testoutput3
20     %pcretest% -q %srcdir%\testdata\wintestinput3 > testout\wintestoutput3
21 ph10 144 %pcretest% -q %srcdir%\testdata\testinput4 > testout\testoutput4
22     %pcretest% -q %srcdir%\testdata\testinput5 > testout\testoutput5
23     %pcretest% -q %srcdir%\testdata\testinput6 > testout\testoutput6
24     %pcretest% -q -dfa %srcdir%\testdata\testinput7 > testout\testoutput7
25     %pcretest% -q -dfa %srcdir%\testdata\testinput8 > testout\testoutput8
26     %pcretest% -q -dfa %srcdir%\testdata\testinput9 > testout\testoutput9
27 ph10 194 %pcretest% -q %srcdir%\testdata\testinput10 > testout\testoutput10
28 ph10 465 %pcretest% -q %srcdir%\testdata\testinput11 > testout\testoutput11
29     %pcretest% -q %srcdir%\testdata\testinput12 > testout\testoutput12
30 ph10 144
31     fc /n %srcdir%\testdata\testoutput1 testout\testoutput1
32     fc /n %srcdir%\testdata\testoutput2 testout\testoutput2
33     rem fc /n %srcdir%\testdata\testoutput3 testout\testoutput3
34 ph10 249 fc /n %srcdir%\testdata\wintestoutput3 testout\wintestoutput3
35 ph10 144 fc /n %srcdir%\testdata\testoutput4 testout\testoutput4
36     fc /n %srcdir%\testdata\testoutput5 testout\testoutput5
37     fc /n %srcdir%\testdata\testoutput6 testout\testoutput6
38     fc /n %srcdir%\testdata\testoutput7 testout\testoutput7
39     fc /n %srcdir%\testdata\testoutput8 testout\testoutput8
40     fc /n %srcdir%\testdata\testoutput9 testout\testoutput9
41 ph10 194 fc /n %srcdir%\testdata\testoutput10 testout\testoutput10
42 ph10 448 fc /n %srcdir%\testdata\testoutput11 testout\testoutput11
43     fc /n %srcdir%\testdata\testoutput12 testout\testoutput12

Properties

Name Value
svn:keywords "Author Date Id Revision Url"

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12