~ubuntu-branches/ubuntu/oneiric/pcre3/oneiric

« back to all changes in this revision

Viewing changes to RunTest

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-01-25 12:25:05 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110125122505-poii7htffw5ctwdy
Tags: 8.12-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
echo PCRE C library tests
134
134
./pcretest /dev/null
135
135
 
136
 
# Primary test, compatible with Perl 5.8, 5.10, 5.11
 
136
# Primary test, compatible with all versions of Perl >= 5.8
137
137
 
138
138
if [ $do1 = yes ] ; then
139
 
  echo "Test 1: main functionality (Perl 5.8, 5.10, 5.11 compatible)"
 
139
  echo "Test 1: main functionality (Compatible with Perl >= 5.8)"
140
140
  $valgrind ./pcretest -q $testdata/testinput1 testtry
141
141
  if [ $? = 0 ] ; then
142
142
    $cf $testdata/testoutput1 testtry
215
215
# Additional tests for UTF8 support
216
216
 
217
217
if [ $do4 = yes ] ; then
218
 
  echo "Test 4: UTF-8 support (Perl 5.8, 5.10, 5.11 compatible)"
 
218
  echo "Test 4: UTF-8 support (Compatible with Perl >= 5.8)"
219
219
  $valgrind ./pcretest -q $testdata/testinput4 testtry
220
220
  if [ $? = 0 ] ; then
221
221
    $cf $testdata/testoutput4 testtry
237
237
fi
238
238
 
239
239
if [ $do6 = yes ] ; then
240
 
  echo "Test 6: Unicode property support (Perl 5.10, 5.11 compatible)"
 
240
  echo "Test 6: Unicode property support (Compatible with Perl >= 5.10)"
241
241
  $valgrind ./pcretest -q $testdata/testinput6 testtry
242
242
  if [ $? = 0 ] ; then
243
243
    $cf $testdata/testoutput6 testtry
299
299
  echo "OK"
300
300
fi
301
301
 
302
 
# Test of Perl 5.10, 5.11 features
 
302
# Test of Perl >= 5.10 features
303
303
 
304
304
if [ $do11 = yes ] ; then
305
 
  echo "Test 11: Perl 5.10, 5.11 features"
 
305
  echo "Test 11: Features from Perl >= 5.10"
306
306
  $valgrind ./pcretest -q $testdata/testinput11 testtry
307
307
  if [ $? = 0 ] ; then
308
308
    $cf $testdata/testoutput11 testtry