diff options
author | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-27 14:24:02 +0000 |
---|---|---|
committer | ennewalker <ennewalker@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-27 14:24:02 +0000 |
commit | 343ba001ffb116ddadb275d23645861a60bbbdbc (patch) | |
tree | 300151e597f37ea8660f59819e47861b3036b23b /crawl-ref/source/util/pcre/RunTest.bat | |
parent | 09f449f50d9f136fb7dd0dfb848ee953b2851aaf (diff) | |
download | crawl-ref-343ba001ffb116ddadb275d23645861a60bbbdbc.tar.gz crawl-ref-343ba001ffb116ddadb275d23645861a60bbbdbc.zip |
Added PCRE into the source tree. Updated documentation to reflect that PCRE is now on by default on Windows/DOS.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.4@6696 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/util/pcre/RunTest.bat')
-rw-r--r-- | crawl-ref/source/util/pcre/RunTest.bat | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/crawl-ref/source/util/pcre/RunTest.bat b/crawl-ref/source/util/pcre/RunTest.bat new file mode 100644 index 0000000000..70517d09ee --- /dev/null +++ b/crawl-ref/source/util/pcre/RunTest.bat @@ -0,0 +1,39 @@ +@rem This file was contributed by Ralf Junker, and touched up by +@rem Daniel Richard G. Test 10 added by Philip H. +@rem Philip H also changed test 3 to use "wintest" files. +@rem +@rem MS Windows batch file to run pcretest on testfiles with the correct +@rem options. +@rem +@rem Output is written to a newly created subfolder named "testdata". + +setlocal + +if [%srcdir%]==[] set srcdir=. +if [%pcretest%]==[] set pcretest=pcretest + +if not exist testout md testout + +%pcretest% -q %srcdir%\testdata\testinput1 > testout\testoutput1 +%pcretest% -q %srcdir%\testdata\testinput2 > testout\testoutput2 +@rem %pcretest% -q %srcdir%\testdata\testinput3 > testout\testoutput3 +%pcretest% -q %srcdir%\testdata\wintestinput3 > testout\wintestoutput3 +%pcretest% -q %srcdir%\testdata\testinput4 > testout\testoutput4 +%pcretest% -q %srcdir%\testdata\testinput5 > testout\testoutput5 +%pcretest% -q %srcdir%\testdata\testinput6 > testout\testoutput6 +%pcretest% -q -dfa %srcdir%\testdata\testinput7 > testout\testoutput7 +%pcretest% -q -dfa %srcdir%\testdata\testinput8 > testout\testoutput8 +%pcretest% -q -dfa %srcdir%\testdata\testinput9 > testout\testoutput9 +%pcretest% -q %srcdir%\testdata\testinput10 > testout\testoutput10 + +fc /n %srcdir%\testdata\testoutput1 testout\testoutput1 +fc /n %srcdir%\testdata\testoutput2 testout\testoutput2 +rem fc /n %srcdir%\testdata\testoutput3 testout\testoutput3 +fc /n %srcdir%\testdata\wintestoutput3 testout\wintestoutput3 +fc /n %srcdir%\testdata\testoutput4 testout\testoutput4 +fc /n %srcdir%\testdata\testoutput5 testout\testoutput5 +fc /n %srcdir%\testdata\testoutput6 testout\testoutput6 +fc /n %srcdir%\testdata\testoutput7 testout\testoutput7 +fc /n %srcdir%\testdata\testoutput8 testout\testoutput8 +fc /n %srcdir%\testdata\testoutput9 testout\testoutput9 +fc /n %srcdir%\testdata\testoutput10 testout\testoutput10 |