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

Diff of /code/trunk/RunTest

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

revision 1055 by chpe, Tue Oct 16 15:53:30 2012 UTC revision 1119 by chpe, Tue Oct 16 15:57:34 2012 UTC
# Line 428  if [ $do1  = no -a $do2  = no -a $do3  = Line 428  if [ $do1  = no -a $do2  = no -a $do3  =
428    do26=yes    do26=yes
429  fi  fi
430    
431    # Extra test round for testing 32-bit UTF mode with high bits set
432    if test "$test32" != "skip" -a $utf -eq 1; then
433      test32plus="-32+"
434    else
435      test32plus=skip
436    fi
437    
438  # Show which release and which test data  # Show which release and which test data
439    
440  echo ""  echo ""
441  echo PCRE C library tests using test data from $testdata  echo PCRE C library tests using test data from $testdata
442  $sim ./pcretest /dev/null  $sim ./pcretest /dev/null
443    
444  for bmode in "$test8" "$test16" "$test32"; do  for bmode in "$test8" "$test16" "$test32" "$test32plus"; do
445    case "$bmode" in    case "$bmode" in
446      skip) continue;;      skip) continue;;
447      -16)  if [ "$test8$test32" != "skipskip" ] ; then echo ""; fi      -16)  if [ "$test8$test32" != "skipskip" ] ; then echo ""; fi
448            bits=16; echo "---- Testing 16-bit library ----"; echo "";;            bits=16; echo "---- Testing 16-bit library ----"; echo "";;
449      -32)  if [ "$test8$test16" != "skipskip" ] ; then echo ""; fi      -32)  if [ "$test8$test16" != "skipskip" ] ; then echo ""; fi
450            bits=32; echo "---- Testing 32-bit library ----"; echo "";;            bits=32; echo "---- Testing 32-bit library ----"; echo "";;
451        -32+) echo ""
452              bits=32; echo "---- Testing 32-bit library UTF-32 mode with high bits set ----"; echo "";;
453      *)    bits=8; echo "---- Testing 8-bit library ----"; echo "";;      *)    bits=8; echo "---- Testing 8-bit library ----"; echo "";;
454    esac    esac
455    
456      # When testing 32-bit UTF mode with high bits masked, skip all non-UTF tests
457      # Since this is the last test, we can just set doN=no
458      if test "$bmode" = "-32+"; then
459        do1=no do2=no do3=no do8=no
460        do12=no do13=no do14=no do15=no do16=no do17=no
461        do20=no do21=no do23=no do24=no do25=no
462      fi
463    
464  # Primary test, compatible with JIT and all versions of Perl >= 5.8  # Primary test, compatible with JIT and all versions of Perl >= 5.8
465    
466  if [ $do1 = yes ] ; then  if [ $do1 = yes ] ; then

Legend:
Removed from v.1055  
changed lines
  Added in v.1119

  ViewVC Help
Powered by ViewVC 1.1.5