[Pcre-svn] [355] code/trunk: Update for added test 14.

トップ ページ
このメッセージを削除
著者: Subversion repository
日付:  
To: pcre-svn
題目: [Pcre-svn] [355] code/trunk: Update for added test 14.
Revision: 355
          http://www.exim.org/viewvc/pcre2?view=rev&revision=355
Author:   ph10
Date:     2015-08-24 17:31:30 +0100 (Mon, 24 Aug 2015)
Log Message:
-----------
Update for added test 14.


Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/RunTest.bat


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2015-08-24 16:09:39 UTC (rev 354)
+++ code/trunk/ChangeLog    2015-08-24 16:31:30 UTC (rev 355)
@@ -157,7 +157,8 @@
 43. Correct the setting of CMAKE_C_FLAGS in CMakeLists.txt (patch from Roy Ivy 
 III).


-44. Fix bug in RunTest.bat for new test 14.
+44. Fix bug in RunTest.bat for new test 14, and adjust the script for the added
+test (there are now 20 in total).


Version 10.20 30-June-2015

Modified: code/trunk/RunTest.bat
===================================================================
--- code/trunk/RunTest.bat    2015-08-24 16:09:39 UTC (rev 354)
+++ code/trunk/RunTest.bat    2015-08-24 16:31:30 UTC (rev 355)
@@ -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,11 +100,12 @@
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
@@ -110,7 +112,7 @@
 ) 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 @@
   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 "%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 @@
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