/[pcre]/code/trunk/maint/ManyConfigTests
ViewVC logotype

Diff of /code/trunk/maint/ManyConfigTests

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

revision 689 by ph10, Mon Aug 22 14:57:32 2011 UTC revision 690 by ph10, Sat Sep 10 16:19:31 2011 UTC
# Line 66  function runtest() Line 66  function runtest()
66    
67    conf=`./pcretest -C`    conf=`./pcretest -C`
68    nl=`expr match "$conf" ".*Newline sequence is \([A-Z]*\)"`    nl=`expr match "$conf" ".*Newline sequence is \([A-Z]*\)"`
69      jit=`expr match "$conf" ".*[^o] Just-in-time"`
70      utf8=`expr match "$conf" ".*[^o] UTF-8 support"`
71    
72    if [ "$nl" = "LF" -o "$nl" = "ANY" ]; then    if [ "$nl" = "LF" -o "$nl" = "ANY" ]; then
73      echo "Running C library tests"      echo "Running C library tests"
# Line 94  function runtest() Line 96  function runtest()
96      echo "Skipping pcregrep tests: newline is $nl"      echo "Skipping pcregrep tests: newline is $nl"
97    fi    fi
98    
99      if [ "$jit" -gt 0 -a $utf8 -gt 0 ]; then
100        echo "Running JIT regression tests"
101        $srcdir/pcre_jit_test >teststdout 2>teststderr
102        if [ $? -ne 0 ]; then
103          echo " "
104          echo "**** Test failed ****"
105          cat teststderr
106          cat teststdout
107          exit 1
108        fi
109      else
110        echo "Skipping JIT regression tests: JIT or UTF-8 not enabled"
111      fi
112    
113    if [ "$nl" = "LF" -o "$nl" = "ANY" ]; then    if [ "$nl" = "LF" -o "$nl" = "ANY" ]; then
114      if [ -f pcrecpp_unittest ] ; then      if [ -f pcrecpp_unittest ] ; then
115        for utest in pcrecpp_unittest \        for utest in pcrecpp_unittest \
# Line 130  srcdir=. Line 146  srcdir=.
146  for opts in \  for opts in \
147    "" \    "" \
148    "--enable-utf8 --disable-static" \    "--enable-utf8 --disable-static" \
149    "--disable-stack-for-recursion" \    "--disable-stack-for-recursion --disable-shared" \
150    "--enable-utf8 --disable-stack-for-recursion" \    "--enable-utf8 --disable-stack-for-recursion --disable-shared" \
151    "--enable-unicode-properties --disable-shared" \    "--enable-unicode-properties --disable-shared" \
152    "--enable-unicode-properties --disable-stack-for-recursion --disable-shared" \    "--enable-unicode-properties --disable-stack-for-recursion --disable-shared" \
153    "--enable-unicode-properties --disable-cpp --with-link-size=3 --disable-shared" \    "--enable-unicode-properties --disable-cpp --with-link-size=3 --disable-shared" \
# Line 141  for opts in \ Line 157  for opts in \
157    "--enable-newline-is-crlf --disable-shared" \    "--enable-newline-is-crlf --disable-shared" \
158    "--enable-newline-is-anycrlf --enable-bsr-anycrlf --disable-shared" \    "--enable-newline-is-anycrlf --enable-bsr-anycrlf --disable-shared" \
159    "--enable-utf8 --enable-newline-is-any --enable-unicode-properties --disable-stack-for-recursion --disable-static --disable-cpp" \    "--enable-utf8 --enable-newline-is-any --enable-unicode-properties --disable-stack-for-recursion --disable-static --disable-cpp" \
160    "--enable-jit --enable-unicode-properties" \    "--enable-jit --disable-shared" \
161    "--enable-jit --enable-unicode-properties --with-link-size=3"    "--enable-jit --enable-unicode-properties --disable-shared" \
162      "--enable-jit --enable-unicode-properties --with-link-size=3 --disable-shared"
163  do  do
164    runtest    runtest
165  done  done

Legend:
Removed from v.689  
changed lines
  Added in v.690

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12