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

Contents of /code/trunk/RunTest.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 194 - (hide annotations) (download)
Mon Jul 30 11:37:52 2007 UTC (5 years, 9 months ago) by ph10
File MIME type: text/plain
File size: 1676 byte(s)
Addes test 10 to the RunTest.bat file.

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

Properties

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

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12