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

Diff of /code/trunk/RunTest

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

revision 165 by ph10, Wed May 9 10:50:57 2007 UTC revision 245 by ph10, Fri Sep 14 10:06:05 2007 UTC
# Line 25  utf8=$? Line 25  utf8=$?
25  ./pcretest -C | ./pcregrep 'No Unicode properties support' >/dev/null  ./pcretest -C | ./pcregrep 'No Unicode properties support' >/dev/null
26  ucp=$?  ucp=$?
27    
28    ./pcretest -C | ./pcregrep '\\R matches CR, LF, or CRLF only' >/dev/null
29    bsrok=$?
30    
31  # Select which tests to run; for those that are explicitly requested, check  # Select which tests to run; for those that are explicitly requested, check
32  # that the necessary optional facilities are available.  # that the necessary optional facilities are available.
33    
# Line 66  if [ $utf8 -eq 0 ] ; then Line 69  if [ $utf8 -eq 0 ] ; then
69      echo "Can't run test 5 because UTF-8 support is not configured"      echo "Can't run test 5 because UTF-8 support is not configured"
70      exit 1      exit 1
71    fi    fi
   if [ $do6 = yes ] ; then  
     echo "Can't run test 6 because UTF-8 support is not configured"  
     exit 1  
   fi  
72    if [ $do8 = yes ] ; then    if [ $do8 = yes ] ; then
73      echo "Can't run test 8 because UTF-8 support is not configured"      echo "Can't run test 8 because UTF-8 support is not configured"
74      exit 1      exit 1
75    fi    fi
   if [ $do9 = yes ] ; then  
     echo "Can't run test 9 because UTF-8 support is not configured"  
     exit 1  
   fi  
76  fi  fi
77    
78  if [ $ucp -eq 0 ] ; then  if [ $ucp -eq 0 ] ; then
# Line 102  if [ $link_size -ne 2 ] ; then Line 97  if [ $link_size -ne 2 ] ; then
97    fi    fi
98  fi  fi
99    
100    if [ $bsrok = 0 ] ; then
101      if [ $do2 = yes ] ; then
102        echo "Can't run test 2 because \\R is restricted"
103        exit 1
104      fi
105      if [ $do5 = yes ] ; then
106        echo "Can't run test 5 because \\R is restricted"
107        exit 1
108      fi
109      if [ $do7 = yes ] ; then
110        echo "Can't run test 7 because \\R is restricted"
111        exit 1
112      fi
113      if [ $do8 = yes ] ; then
114        echo "Can't run test 8 because \\R is restricted"
115        exit 1
116      fi
117    fi
118    
119  # If no specific tests were requested, select all that are relevant.  # If no specific tests were requested, select all that are relevant.
120    
121  if [ $do1 = no -a $do2 = no -a $do3 = no -a $do4 = no -a \  if [ $do1 = no -a $do2 = no -a $do3 = no -a $do4 = no -a \
122       $do5 = no -a $do6 = no -a $do7 = no -a $do8 = no -a \       $do5 = no -a $do6 = no -a $do7 = no -a $do8 = no -a \
123       $do9 = no -a $do10 = no ] ; then       $do9 = no -a $do10 = no ] ; then
124    do1=yes    do1=yes
125    do2=yes    if [ $bsrok -ne 0 ] ; then do2=yes; fi
126    do3=yes    do3=yes
127    if [ $utf8 -ne 0 ] ; then do4=yes; fi    if [ $utf8 -ne 0 ] ; then do4=yes; fi
128    if [ $utf8 -ne 0 ] ; then do5=yes; fi    if [ $utf8 -ne 0 -a $bsrok -ne 0 ] ; then do5=yes; fi
129    if [ $utf8 -ne 0 -a $ucp -ne 0 ] ; then do6=yes; fi    if [ $utf8 -ne 0 -a $ucp -ne 0 ] ; then do6=yes; fi
130    do7=yes    if [ $bsrok -ne 0 ] ; then do7=yes; fi
131    if [ $utf8 -ne 0 ] ; then do8=yes; fi    if [ $utf8 -ne 0 -a $bsrok -ne 0 ] ; then do8=yes; fi
132    if [ $utf8 -ne 0 -a $ucp -ne 0 ] ; then do9=yes; fi    if [ $utf8 -ne 0 -a $ucp -ne 0 ] ; then do9=yes; fi
133    if [ $link_size -eq 2 ] ; then do10=yes; fi    if [ $link_size -eq 2 -a $ucp -ne 0 ] ; then do10=yes; fi
134  fi  fi
135    
136  # Show which release  # Show which release

Legend:
Removed from v.165  
changed lines
  Added in v.245

webmaster@exim.org
ViewVC Help
Powered by ViewVC 1.1.12