From ef3f53c50a1c42c9db85578cf6a2647615204d4e Mon Sep 17 00:00:00 2001 From: ph10 Date: Sat, 31 Dec 2016 14:04:25 +0000 Subject: [PATCH] Fix Windows test script. --- ChangeLog | 2 ++ RunTest.bat | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 56501a2..c3e2319 100644 --- a/ChangeLog +++ b/ChangeLog @@ -277,6 +277,8 @@ overly-complicated patterns and not spend too much time auto-possessifying was being reset too often, resulting in very long compile times for some patterns. Now such patterns are no longer completely auto-possessified. +43. Applied Jason Hood's revised patch for RunTest.bat. + Version 10.22 29-July-2016 -------------------------- diff --git a/RunTest.bat b/RunTest.bat index 54d9f34..b131463 100644 --- a/RunTest.bat +++ b/RunTest.bat @@ -245,8 +245,6 @@ if [%3] == [] ( if %1 == 8 ( set outnum=8-%bits%-%link_size% -) else if %1 == 22 ( - set outnum=22-%bits% ) else ( set outnum=%1 ) @@ -264,6 +262,8 @@ if errorlevel 1 ( echo. %pcre2test% %mode% %4 %5 %6 %7 %8 %9 %srcdir%\testdata\%testinput% ^>%2%bits%\%testoutput% set failed="yes" goto :eof +) else if [%1]==[2] ( + %pcre2test% %mode% %4 %5 %6 %7 %8 %9 -error -63,-62,-2,-1,0,100,188,189,190,191 >>%2%bits%\%testoutput% ) set type=