/[pcre]/code/trunk/RunTest.bat
ViewVC logotype

Diff of /code/trunk/RunTest.bat

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 719 by ph10, Fri Oct 7 11:41:05 2011 UTC revision 791 by ph10, Wed Dec 7 16:38:03 2011 UTC
# Line 18  Line 18 
18  @rem 14 requires presense of jit support  @rem 14 requires presense of jit support
19  @rem 15 requires absence of jit support  @rem 15 requires absence of jit support
20  @rem Sheri P also added override tests for study and jit testing  @rem Sheri P also added override tests for study and jit testing
21    @rem JIT testing n/a for tests 7-10, removed JIT override test for them
22    
23  setlocal enabledelayedexpansion  setlocal enabledelayedexpansion
24  if [%srcdir%]==[] (  if [%srcdir%]==[] (
# Line 27  if exist ..\testdata\ set srcdir=..) Line 28  if exist ..\testdata\ set srcdir=..)
28  if [%srcdir%]==[] (  if [%srcdir%]==[] (
29  if exist ..\..\testdata\ set srcdir=..\..)  if exist ..\..\testdata\ set srcdir=..\..)
30  if NOT exist "%srcdir%\testdata\" (  if NOT exist "%srcdir%\testdata\" (
31  Error: echo distribution testdata folder not found.  Error: echo distribution testdata folder not found!
32  call :conferror  call :conferror
33  exit /b 1  exit /b 1
34  goto :eof  goto :eof
# Line 41  echo pcretest=%pcretest% Line 42  echo pcretest=%pcretest%
42  echo pcregrep=%pcregrep%  echo pcregrep=%pcregrep%
43    
44  if NOT exist "%pcregrep%" (  if NOT exist "%pcregrep%" (
45  echo Error: "%pcregrep%" not found.  echo Error: "%pcregrep%" not found!
46  echo.  echo.
47  call :conferror  call :conferror
48  exit /b 1  exit /b 1
49  )  )
50    
51  if NOT exist "%pcretest%" (  if NOT exist "%pcretest%" (
52  echo Error: "%pcretest%" not found.  echo Error: "%pcretest%" not found!
53  echo.  echo.
54  call :conferror  call :conferror
55  exit /b 1  exit /b 1
# Line 219  if %jit% EQU 1 call :runsub 1 testoutjit Line 220  if %jit% EQU 1 call :runsub 1 testoutjit
220  goto :eof  goto :eof
221    
222  :do2  :do2
223    call :runsub 2 testout "API, errors, internals, and non-Perl stuff" -q    call :runsub 2 testout "API, errors, internals, and non-Perl stuff (not UTF-8)" -q
224    call :runsub 2 testoutstudy "Test with Study Override" -q -s    call :runsub 2 testoutstudy "Test with Study Override" -q -s
225    if %jit% EQU 1 call :runsub 2 testoutjit "Test with JIT Override" -q -s+    if %jit% EQU 1 call :runsub 2 testoutjit "Test with JIT Override" -q -s+
226  goto :eof  goto :eof
# Line 263  goto :eof Line 264  goto :eof
264  :do7  :do7
265    call :runsub 7 testout "DFA matching" -q -dfa    call :runsub 7 testout "DFA matching" -q -dfa
266    call :runsub 7 testoutstudy "Test with Study Override" -q -dfa -s    call :runsub 7 testoutstudy "Test with Study Override" -q -dfa -s
   if %jit% EQU 1 call :runsub 7 testoutjit "Test with JIT Override" -q -dfa -s+  
267  goto :eof  goto :eof
268    
269  :do8  :do8
# Line 273  goto :eof Line 273  goto :eof
273  )  )
274    call :runsub 8 testout "DFA matching with UTF-8" -q -dfa    call :runsub 8 testout "DFA matching with UTF-8" -q -dfa
275    call :runsub 8 testoutstudy "Test with Study Override" -q -dfa -s    call :runsub 8 testoutstudy "Test with Study Override" -q -dfa -s
   if %jit% EQU 1 call :runsub 8 testoutjit "Test with JIT Override" -q -dfa -s+  
276    goto :eof    goto :eof
277    
278  :do9  :do9
# Line 283  goto :eof Line 282  goto :eof
282  )  )
283    call :runsub 9 testout "DFA matching with Unicode properties" -q -dfa    call :runsub 9 testout "DFA matching with Unicode properties" -q -dfa
284    call :runsub 9 testoutstudy "Test with Study Override" -q -dfa -s    call :runsub 9 testoutstudy "Test with Study Override" -q -dfa -s
   if %jit% EQU 1 call :runsub 9 testoutjit "Test with JIT Override" -q -dfa -s+  
285  goto :eof  goto :eof
286    
287  :do10  :do10
# Line 293  goto :eof Line 291  goto :eof
291  )  )
292    call :runsub 10 testout "Internal offsets and code size tests" -q    call :runsub 10 testout "Internal offsets and code size tests" -q
293    call :runsub 10 testoutstudy "Test with Study Override" -q -s    call :runsub 10 testoutstudy "Test with Study Override" -q -s
   if %jit% EQU 1 call :runsub 10 testoutjit "Test with JIT Override" -q -s+  
294  goto :eof  goto :eof
295    
296  :do11  :do11
# Line 342  goto :eof Line 339  goto :eof
339  goto :eof  goto :eof
340    
341  :conferror  :conferror
342  @echo Configuration error.  @echo.
343    @echo Either your build is incomplete or you have a configuration error.
344  @echo.  @echo.
345  @echo If configured with cmake and executed via "make test" or the MSVC "RUN_TESTS"  @echo If configured with cmake and executed via "make test" or the MSVC "RUN_TESTS"
346  @echo project, pcre_test.bat defines variables and automatically calls RunTest.bat.  @echo project, pcre_test.bat defines variables and automatically calls RunTest.bat.

Legend:
Removed from v.719  
changed lines
  Added in v.791

  ViewVC Help
Powered by ViewVC 1.1.5