summaryrefslogtreecommitdiff
path: root/RunTest.bat
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2016-01-29 15:01:17 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2016-01-29 15:01:17 +0000
commitec1e17f4e6d7cd57413c4ccbdac5088ee034ce6d (patch)
treeed47dad7c255a23120bb4dc07035766703a01e3a /RunTest.bat
parent470cccc73c0390fbb4e403693a4e8e9ea580e2d7 (diff)
downloadpcre2-ec1e17f4e6d7cd57413c4ccbdac5088ee034ce6d.tar.gz
Patches to fix tests under Windows.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@477 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'RunTest.bat')
-rw-r--r--RunTest.bat14
1 files changed, 9 insertions, 5 deletions
diff --git a/RunTest.bat b/RunTest.bat
index ce9d5b5..74deb88 100644
--- a/RunTest.bat
+++ b/RunTest.bat
@@ -242,11 +242,18 @@ if [%3] == [] (
exit /b 1
)
+if %1 == 8 (
+ set outnum=8-%bits%-%link_size%
+) else if %1 == 22 (
+ set outnum=22-%bits%
+) else (
+ set outnum=%1
+)
set testinput=testinput%1
-set testoutput=testoutput%1
+set testoutput=testoutput%outnum%
if exist %srcdir%\testdata\win%testinput% (
set testinput=wintestinput%1
- set testoutput=wintestoutput%1
+ set testoutput=wintestoutput%outnum%
)
echo Test %1: %3
@@ -259,9 +266,6 @@ if errorlevel 1 (
)
set type=
-if [%1]==[8] (
- set type=-%bits%
-)
if [%1]==[11] (
set type=-%bits%
)