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

Diff of /code/trunk/RunTest

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

revision 706 by ph10, Fri Sep 23 10:11:35 2011 UTC revision 835 by ph10, Wed Dec 28 16:10:09 2011 UTC
# Line 85  elif [ -d "../testdata" ] ; then Line 85  elif [ -d "../testdata" ] ; then
85    testdata=../testdata    testdata=../testdata
86  else  else
87    echo "Cannot find the testdata directory"    echo "Cannot find the testdata directory"
88    exit 1    exit 1
89  fi  fi
90    
91  # Find which optional facilities are available  # Find which optional facilities are available. In some Windows environments
92    # the output of pcretest -C has CRLF at the end of each line, but the shell
93    # strips only linefeeds from the output of a `backquoted` command. Hence the
94    # alternative patterns.
95    
96  case `$sim ./pcretest -C | $sim ./pcregrep 'Internal link size'` in  case `$sim ./pcretest -C | $sim ./pcregrep 'Internal link size'` in
97    *2) link_size=2;;    *2|*2[[:space:]]) link_size=2;;
98    *3) link_size=3;;    *3|*3[[:space:]]) link_size=3;;
99    *4) link_size=4;;    *4|*4[[:space:]]) link_size=4;;
100     *) echo "Failed to find internal link size"; exit 1;;     *) echo "Failed to find internal link size"; exit 1;;
101  esac  esac
102    
# Line 268  if [ $do3 = yes ] ; then Line 271  if [ $do3 = yes ] ; then
271          sed 's/fr_FR/fr/' $testdata/wintestoutput3 >test3output          sed 's/fr_FR/fr/' $testdata/wintestoutput3 >test3output
272        else        else
273          locale=          locale=
274        fi        fi
275      fi      fi
276    fi    fi
277    
# Line 294  if [ $do3 = yes ] ; then Line 297  if [ $do3 = yes ] ; then
297        fi        fi
298      done      done
299    else    else
300      echo "Cannot test locale-specific features - neither the 'fr_FR' nor the"      echo "Cannot test locale-specific features - none of the 'fr_FR', 'fr' or"
301      echo "'french' locale exists, or the \"locale\" command is not available"      echo "'french' locales exist, or the \"locale\" command is not available"
302      echo "to check for them."      echo "to check for them."
303      echo " "      echo " "
304    fi    fi

Legend:
Removed from v.706  
changed lines
  Added in v.835

  ViewVC Help
Powered by ViewVC 1.1.5