/[pcre]/code/branches/pcre16/RunTest
ViewVC logotype

Diff of /code/branches/pcre16/RunTest

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

revision 827 by zherczeg, Mon Dec 26 14:27:28 2011 UTC revision 828 by ph10, Tue Dec 27 11:25:32 2011 UTC
# Line 54  do16=no Line 54  do16=no
54  do17=no  do17=no
55  do18=no  do18=no
56  do19=no  do19=no
57    do20=no
58    
59  while [ $# -gt 0 ] ; do  while [ $# -gt 0 ] ; do
60    case $1 in    case $1 in
# Line 76  while [ $# -gt 0 ] ; do Line 77  while [ $# -gt 0 ] ; do
77     17) do17=yes;;     17) do17=yes;;
78     18) do18=yes;;     18) do18=yes;;
79     19) do19=yes;;     19) do19=yes;;
80       20) do20=yes;;
81     -8) arg8=yes;;     -8) arg8=yes;;
82    -16) arg16=yes;;    -16) arg16=yes;;
83     valgrind) valgrind="valgrind -q --smc-check=all";;     valgrind) valgrind="valgrind -q --smc-check=all";;
# Line 240  if [ $do1  = no -a $do2  = no -a $do3  = Line 242  if [ $do1  = no -a $do2  = no -a $do3  =
242       $do5  = no -a $do6  = no -a $do7  = no -a $do8  = no -a \       $do5  = no -a $do6  = no -a $do7  = no -a $do8  = no -a \
243       $do9  = no -a $do10 = no -a $do11 = no -a $do12 = no -a \       $do9  = no -a $do10 = no -a $do11 = no -a $do12 = no -a \
244       $do13 = no -a $do14 = no -a $do15 = no -a $do16 = no -a \       $do13 = no -a $do14 = no -a $do15 = no -a $do16 = no -a \
245       $do17 = no -a $do18 = no -a $do19 = no ] ; then       $do17 = no -a $do18 = no -a $do19 = no -a $do20 = no ] ; then
246    do1=yes    do1=yes
247    do2=yes    do2=yes
248    do3=yes    do3=yes
# Line 260  if [ $do1  = no -a $do2  = no -a $do3  = Line 262  if [ $do1  = no -a $do2  = no -a $do3  =
262    do17=yes    do17=yes
263    do18=yes    do18=yes
264    do19=yes    do19=yes
265      do20=yes
266  fi  fi
267    
268  # Show which release and which test data  # Show which release and which test data
# Line 711  if [ $do19 = yes ] ; then Line 714  if [ $do19 = yes ] ; then
714        else echo "  OK"        else echo "  OK"
715        fi        fi
716      done      done
717      fi
718    fi
719    
720    # Tests for 16-bit-specific features in DFA non-UTF-16 mode
721    
722    if [ $do20 = yes ] ; then
723      echo "Test 20: DFA specials for the basic 16-bit library"
724      if [ "$bits" = "8" ] ; then
725        echo "  Skipped when running 8-bit tests"
726      else
727        for opt in "" "-s"; do
728          $sim $valgrind ./pcretest -q $bmode $opt $testdata/testinput20 testtry
729          if [ $? = 0 ] ; then
730            $cf $testdata/testoutput20 testtry
731            if [ $? != 0 ] ; then exit 1; fi
732          else exit 1
733          fi
734          if [ "$opt" = "-s" ] ; then echo "  OK with study"
735          else echo "  OK"
736          fi
737        done
738    fi    fi
739  fi  fi
740    

Legend:
Removed from v.827  
changed lines
  Added in v.828

  ViewVC Help
Powered by ViewVC 1.1.5