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

Diff of /code/trunk/RunTest

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

revision 1320 by ph10, Wed May 1 16:39:35 2013 UTC revision 1370 by ph10, Wed Oct 9 10:18:26 2013 UTC
# Line 14  Line 14 
14  # UTF-8 with the UTF-8 check turned off; for this, studying must also be  # UTF-8 with the UTF-8 check turned off; for this, studying must also be
15  # disabled with /SS.  # disabled with /SS.
16  #  #
17  # When JIT support is available, all the tests are also run with -s+ to test  # When JIT support is available, all appropriate tests are also run with -s+ to
18  # (again, almost) everything with studying and the JIT option, unless "nojit"  # test (again, almost) everything with studying and the JIT option, unless
19  # is given on the command line. There are also two tests for JIT-specific  # "nojit" is given on the command line. There are also two tests for
20  # features, one to be run when JIT support is available (unless "nojit" is  # JIT-specific features, one to be run when JIT support is available (unless
21  # specified), and one when it is not.  # "nojit" is specified), and one when it is not.
22  #  #
23  # Whichever of the 8-, 16- and 32-bit libraries exist are tested. It is also  # Whichever of the 8-, 16- and 32-bit libraries exist are tested. It is also
24  # possible to select which to test by giving "-8", "-16" or "-32" on the  # possible to select which to test by giving "-8", "-16" or "-32" on the
# Line 30  Line 30 
30  # runs tests 3 to 15, excluding test 10, and just "~10" runs all the tests  # runs tests 3 to 15, excluding test 10, and just "~10" runs all the tests
31  # except test 10. Whatever order the arguments are in, the tests are always run  # except test 10. Whatever order the arguments are in, the tests are always run
32  # in numerical order.  # in numerical order.
33    #
34    # Inappropriate tests are automatically skipped (with a comment to say so): for
35    # example, if JIT support is not compiled, test 12 is skipped, whereas if JIT
36    # support is compiled, test 13 is skipped.
37    #
38  # Other arguments can be one of the words "valgrind", "valgrind-log", or "sim"  # Other arguments can be one of the words "valgrind", "valgrind-log", or "sim"
39  # followed by an argument to run cross- compiled executables under a simulator,  # followed by an argument to run cross-compiled executables under a simulator,
40  # for example:  # for example:
41  #  #
42  # RunTest 3 sim "qemu-arm -s 8388608"  # RunTest 3 sim "qemu-arm -s 8388608"
# Line 62  title8="Test 8: DFA matching main functi Line 66  title8="Test 8: DFA matching main functi
66  title9="Test 9: DFA matching with UTF"  title9="Test 9: DFA matching with UTF"
67  title10="Test 10: DFA matching with Unicode properties"  title10="Test 10: DFA matching with Unicode properties"
68  title11="Test 11: Internal offsets and code size tests"  title11="Test 11: Internal offsets and code size tests"
69  title12="Test 12: JIT-specific features (JIT available)"  title12="Test 12: JIT-specific features (when JIT is available)"
70  title13="Test 13: JIT-specific features (JIT not available)"  title13="Test 13: JIT-specific features (when JIT is not available)"
71  title14="Test 14: Specials for the basic 8-bit library"  title14="Test 14: Specials for the basic 8-bit library"
72  title15="Test 15: Specials for the 8-bit library with UTF-8 support"  title15="Test 15: Specials for the 8-bit library with UTF-8 support"
73  title16="Test 16: Specials for the 8-bit library with Unicode propery support"  title16="Test 16: Specials for the 8-bit library with Unicode propery support"
# Line 350  if [ $jit -ne 0 -a "$nojit" != "yes" ] ; Line 354  if [ $jit -ne 0 -a "$nojit" != "yes" ] ;
354    jitopt=-s+    jitopt=-s+
355  fi  fi
356    
 # Handle any explicit skips  
   
 for i in $skip; do eval do$i=no; done  
   
 # If any unsuitable tests were explicitly requested, grumble.  
   
 if [ $utf -eq 0 ] ; then  
   if [ $do4 = yes ] ; then  
     echo "Can't run test 4 because UTF support is not configured"  
     exit 1  
   fi  
   if [ $do5 = yes ] ; then  
     echo "Can't run test 5 because UTF support is not configured"  
     exit 1  
   fi  
   if [ $do9 = yes ] ; then  
     echo "Can't run test 8 because UTF support is not configured"  
     exit 1  
   fi  
   if [ $do15 = yes ] ; then  
     echo "Can't run test 15 because UTF support is not configured"  
     exit 1  
   fi  
   if [ $do18 = yes ] ; then  
     echo "Can't run test 18 because UTF support is not configured"  
   fi  
   if [ $do22 = yes ] ; then  
     echo "Can't run test 22 because UTF support is not configured"  
   fi  
 fi  
   
 if [ $ucp -eq 0 ] ; then  
   if [ $do6 = yes ] ; then  
     echo "Can't run test 6 because Unicode property support is not configured"  
     exit 1  
   fi  
   if [ $do7 = yes ] ; then  
     echo "Can't run test 7 because Unicode property support is not configured"  
     exit 1  
   fi  
   if [ $do10 = yes ] ; then  
     echo "Can't run test 10 because Unicode property support is not configured"  
     exit 1  
   fi  
   if [ $do16 = yes ] ; then  
     echo "Can't run test 16 because Unicode property support is not configured"  
     exit 1  
   fi  
   if [ $do19 = yes ] ; then  
     echo "Can't run test 19 because Unicode property support is not configured"  
     exit 1  
   fi  
 fi  
   
 if [ $link_size -ne 2 ] ; then  
   if [ $do11 = yes ] ; then  
     echo "Can't run test 11 because the link size ($link_size) is not 2"  
     exit 1  
   fi  
 fi  
   
 if [ $jit -eq 0 ] ; then  
   if [ $do12 = "yes" ] ; then  
     echo "Can't run test 12 because JIT support is not configured"  
     exit 1  
   fi  
 else  
   if [ $do13 = "yes" ] ; then  
     echo "Can't run test 13 because JIT support is configured"  
     exit 1  
   fi  
 fi  
   
357  # If no specific tests were requested, select all. Those that are not  # If no specific tests were requested, select all. Those that are not
358  # relevant will be automatically skipped.  # relevant will be automatically skipped.
359    
# Line 461  if [ $do1  = no -a $do2  = no -a $do3  = Line 392  if [ $do1  = no -a $do2  = no -a $do3  =
392    do26=yes    do26=yes
393  fi  fi
394    
395  # Handle any explicit skips (again, so that an argument list may consist only  # Handle any explicit skips at this stage, so that an argument list may consist
396  # of explicit skips).  # only of explicit skips.
397    
398  for i in $skip; do eval do$i=no; done  for i in $skip; do eval do$i=no; done
399    

Legend:
Removed from v.1320  
changed lines
  Added in v.1370

  ViewVC Help
Powered by ViewVC 1.1.5