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

Diff of /code/trunk/RunTest

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

revision 345 by ph10, Mon Apr 28 15:10:02 2008 UTC revision 426 by ph10, Wed Aug 26 15:38:32 2009 UTC
# Line 139  fi Line 139  fi
139  # PCRE tests that are not Perl-compatible - API & error tests, mostly  # PCRE tests that are not Perl-compatible - API & error tests, mostly
140    
141  if [ $do2 = yes ] ; then  if [ $do2 = yes ] ; then
142    echo "Test 2: API and error handling (not Perl compatible)"    echo "Test 2: API, errors, and non-Perl stuff"
143    $valgrind ./pcretest -q $testdata/testinput2 testtry    $valgrind ./pcretest -q $testdata/testinput2 testtry
144    if [ $? = 0 ] ; then    if [ $? = 0 ] ; then
145      $cf $testdata/testoutput2 testtry      $cf $testdata/testoutput2 testtry
146      if [ $? != 0 ] ; then exit 1; fi      if [ $? != 0 ] ; then exit 1; fi
147    else exit 1    else
148        echo " "
149        echo "** Test 2 requires a lot of stack. If it has crashed with a"
150        echo "** segmentation fault, it may be that you do not have enough"
151        echo "** stack available by default. Please see the 'pcrestack' man"
152        echo "** page for a discussion of PCRE's stack usage."
153        echo " "
154        exit 1
155    fi    fi
156    echo "OK"    echo "OK"
157  fi  fi
# Line 209  if [ $do4 = yes ] ; then Line 216  if [ $do4 = yes ] ; then
216  fi  fi
217    
218  if [ $do5 = yes ] ; then  if [ $do5 = yes ] ; then
219    echo "Test 5: API and internals for UTF-8 support (not Perl compatible)"    echo "Test 5: API, internals, and non-Perl stuff for UTF-8 support"
220    $valgrind ./pcretest -q $testdata/testinput5 testtry    $valgrind ./pcretest -q $testdata/testinput5 testtry
221    if [ $? = 0 ] ; then    if [ $? = 0 ] ; then
222      $cf $testdata/testoutput5 testtry      $cf $testdata/testoutput5 testtry

Legend:
Removed from v.345  
changed lines
  Added in v.426

  ViewVC Help
Powered by ViewVC 1.1.5