summaryrefslogtreecommitdiff
path: root/RunTest.bat
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2015-08-24 16:31:30 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2015-08-24 16:31:30 +0000
commitf6f1aa58121fd6199887d02b8922230cccca974b (patch)
tree525ea476cb5733d40d9fe6ade9cffeddb00841a6 /RunTest.bat
parentca1239284b7873f0c22d2f1fa633a9567d52c499 (diff)
downloadpcre2-f6f1aa58121fd6199887d02b8922230cccca974b.tar.gz
Update for added test 14.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@355 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'RunTest.bat')
-rw-r--r--RunTest.bat44
1 files changed, 26 insertions, 18 deletions
diff --git a/RunTest.bat b/RunTest.bat
index a6067b7..ed56ac5 100644
--- a/RunTest.bat
+++ b/RunTest.bat
@@ -24,6 +24,7 @@
@rem -------------------------------------------------------------------
@rem
@rem The file was converted for PCRE2 by PH, February 2015.
+@rem Updated for new test 14 (moving others up a number), August 2015.
setlocal enabledelayedexpansion
@@ -99,18 +100,19 @@ set do16=no
set do17=no
set do18=no
set do19=no
+set do20=no
set all=yes
for %%a in (%*) do (
set valid=no
- for %%v in (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19) do if %%v == %%a set valid=yes
+ for %%v in (1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20) do if %%v == %%a set valid=yes
if "!valid!" == "yes" (
set do%%a=yes
set all=no
) else (
echo Invalid test number - %%a!
echo Usage %0 [ test_number ] ...
- echo Where test_number is one or more optional test numbers 1 through 19, default is all tests.
+ echo Where test_number is one or more optional test numbers 1 through 20, default is all tests.
exit /b 1
)
)
@@ -136,6 +138,7 @@ if "%all%" == "yes" (
set do17=yes
set do18=yes
set do19=yes
+ set do20=yes
)
@echo RunTest.bat's pcre2test output is written to newly created subfolders
@@ -183,6 +186,7 @@ if "%do16%" == "yes" call :do16
if "%do17%" == "yes" call :do17
if "%do18%" == "yes" call :do18
if "%do19%" == "yes" call :do19
+if "%do20%" == "yes" call :do20
:modeSkip
if "%mode%" == "" (
set mode=-16
@@ -395,51 +399,55 @@ if %bits% EQU 8 (
goto :eof
:do14
-call :runsub 14 testout "Non-JIT limits and other non_JIT tests" -q
+call :runsub 14 testout "DFA specials for UTF and UCP support" -q
goto :eof
:do15
+call :runsub 15 testout "Non-JIT limits and other non_JIT tests" -q
+goto :eof
+
+:do16
if %jit% EQU 1 (
- echo Test 15 Skipped due to presence of JIT support.
+ echo Test 16 Skipped due to presence of JIT support.
goto :eof
)
- call :runsub 15 testout "JIT-specific features when JIT is not available" -q
+ call :runsub 16 testout "JIT-specific features when JIT is not available" -q
goto :eof
-:do16
+:do17
if %jit% EQU 0 (
- echo Test 16 Skipped due to absence of JIT support.
+ echo Test 17 Skipped due to absence of JIT support.
goto :eof
)
- call :runsub 16 testout "JIT-specific features when JIT is available" -q
+ call :runsub 17 testout "JIT-specific features when JIT is available" -q
goto :eof
-:do17
+:do18
if %bits% EQU 16 (
- echo Test 17 Skipped when running 16-bit tests.
+ echo Test 18 Skipped when running 16-bit tests.
goto :eof
)
if %bits% EQU 32 (
- echo Test 17 Skipped when running 32-bit tests.
+ echo Test 18 Skipped when running 32-bit tests.
goto :eof
)
- call :runsub 17 testout "POSIX interface, excluding UTF-8 and UCP" -q
+ call :runsub 18 testout "POSIX interface, excluding UTF-8 and UCP" -q
goto :eof
-:do18
+:do19
if %bits% EQU 16 (
- echo Test 18 Skipped when running 16-bit tests.
+ echo Test 19 Skipped when running 16-bit tests.
goto :eof
)
if %bits% EQU 32 (
- echo Test 18 Skipped when running 32-bit tests.
+ echo Test 19 Skipped when running 32-bit tests.
goto :eof
)
- call :runsub 1 testout "POSIX interface with UTF-8 and UCP" -q
+ call :runsub 19 testout "POSIX interface with UTF-8 and UCP" -q
goto :eof
-:do19
-call :runsub 1 testout "Serialization tests" -q
+:do20
+call :runsub 20 testout "Serialization tests" -q
goto :eof
:conferror