[pcre-dev] [Bug 1222] Test failures on powerpc-darwin8

Top Page
Delete this message
Author: David Fang
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1222] Test failures on powerpc-darwin8
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1222




--- Comment #19 from David Fang <fang@???> 2012-04-18 18:23:30 ---
(In reply to comment #18)
> Doh! The bug is in pcretest, not in the library. It is a really, really, stupid
> bug and my face is very red. Here is a patch that I believe will fix it. If
> this is OK, I'll add some additional code to the library to check for sane
> values in the workspace on restart.


patched, built w/ -g -O1, looks good!

fang% ./RunTest 8

PCRE C library tests using test data from ./testdata
PCRE version 8.30 2012-02-04

---- Testing 8-bit library ----

Test 8: DFA matching main functionality
OK
OK with study

---- Testing 16-bit library ----

Test 8: DFA matching main functionality
OK
OK with study


And all tests again:


fang% make -k check
make check-am
make
make all-am
make check-TESTS
PCRE C++ wrapper tests
Testing FullMatch
Testing PartialMatch
Testing hex
Testing octal
Testing decimal
Testing Replace
Testing Extract
Testing Consume
Testing FindAndConsume
Testing QuoteMeta
Testing match-number peculiarity
Testing error reporting
Testing recursion
Testing Options
Testing Option <CASELESS (class)>
Testing Option <CASELESS (class2)>
Testing Option <CASELESS (class)>
Testing Option <CASELESS (function)>
Testing Option <CASELESS (function)>
Testing Option <no CASELESS>
Testing Option <MULTILINE (class)>
Testing Option <MULTILINE (class2)>
Testing Option <MULTILINE (function)>
Testing Option <no MULTILINE>
Testing Option <DOTALL (class)>
Testing Option <DOTALL (class2)>
Testing Option <DOTALL (function)>
Testing Option <no DOTALL>
Testing Option <no DOLLAR_ENDONLY>
Testing Option <DOLLAR_ENDONLY 1>
Testing Option <DOLLAR_ENDONLY 2>
Testing Option <EXTENDED (class)>
Testing Option <EXTENDED (class2)>
Testing Option <EXTENDED (class)>
Testing Option <EXTENDED (function)>
Testing Option <EXTENDED (function)>
Testing Option <no EXTENDED>
Testing Option <no NO_AUTO_CAPTURE>
testing Option <NO_AUTO_CAPTURE>
Testing Option <UNGREEDY 1>
Testing Option <UNGREEDY 2>
Testing Option <UNGREEDY>
Testing Option <no UNGREEDY>
Testing Option <no UNGREEDY>
Testing Option <EXTRA 1>
Testing Option <EXTRA 2>
Testing Option <no EXTRA>
Testing Option <all_options (CASELESS|DOTALL)>
Testing Option <all_options (0)>
Testing Option <all_options (MULTILINE|EXTENDED)>
Testing Option <all_options (MULTILINE|EXTENDED) with constructor>
Testing Option <all_options (MULTILINE|EXTENDED) with concatenation>
Testing Option <all_options (0)>
Testing constructors
OK
PASS: pcrecpp_unittest
OK
PASS: pcre_scanner_unittest
OK
PASS: pcre_stringpiece_unittest

PCRE C library tests using test data from ./testdata
PCRE version 8.30 2012-02-04

---- Testing 8-bit library ----

Test 1: main functionality (Compatible with Perl >= 5.10)
  OK
  OK with study
Test 2: API, errors, internals, and non-Perl stuff (not UTF-8)
  OK
  OK with study
Test 3: locale-specific features (using 'fr_FR' locale)
--- ./testdata/testoutput3      2009-09-26 08:38:59.000000000 -0700
+++ testtry     2012-04-18 10:18:18.000000000 -0700
@@ -156,7 +156,7 @@
 ------------------------------------------------------------------
         Bra
         [A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]
-        [a-z\xb5\xdf-\xf6\xf8-\xff]
+        [a-z\xaa\xb5\xba\xdf-\xf6\xf8-\xff]
         [A-Z\xc0-\xd6\xd8-\xde]
         Ket
         End


Locale test did not run entirely successfully.
This usually means that there is a problem with the locale
settings rather than a bug in PCRE.
Test 4: UTF-8 support (Compatible with Perl >= 5.10)
OK
OK with study
Test 5: API, internals, and non-Perl stuff for UTF-8 support
OK
OK with study
Test 6: Unicode property support (Compatible with Perl >= 5.10)
OK
OK with study
Test 7: API, internals, and non-Perl stuff for Unicode property support
OK
OK with study
Test 8: DFA matching main functionality
OK
OK with study
Test 9: DFA matching with UTF-8
OK
OK with study
Test 10: DFA matching with Unicode properties
OK
OK with study
Test 11: Internal offsets and code size tests
OK
OK with study
Test 12: JIT-specific features (JIT available)
Skipped because JIT is not available or not usable
Test 13: JIT-specific features (JIT not available)
OK
Test 14: specials for the basic 8-bit library
OK
OK with study
Test 15: specials for the 8-bit library with UTF-8 support
OK
OK with study
Test 16: specials for the 8-bit library with Unicode propery support
OK
OK with study
Test 17: specials for the basic 16-bit library
Skipped when running 8-bit tests
Test 18: specials for the 16-bit library with UTF-16 support
Skipped when running 8-bit tests
Test 19: specials for the 16-bit library with Unicode propery support
Skipped when running 8-bit tests
Test 20: DFA specials for the basic 16-bit library
Skipped when running 8-bit tests
Test 21: reloads for the basic 16-bit library
Skipped when running 8-bit tests
Test 22: reloads for the 16-bit library with UTF-16 support
Skipped when running 8-bit tests

---- Testing 16-bit library ----

Test 1: main functionality (Compatible with Perl >= 5.10)
  OK
  OK with study
Test 2: API, errors, internals, and non-Perl stuff (not UTF-16)
  OK
  OK with study
Test 3: locale-specific features (using 'fr_FR' locale)
--- ./testdata/testoutput3      2009-09-26 08:38:59.000000000 -0700
+++ testtry     2012-04-18 10:18:28.000000000 -0700
@@ -156,7 +156,7 @@
 ------------------------------------------------------------------
         Bra
         [A-Za-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\xff]
-        [a-z\xb5\xdf-\xf6\xf8-\xff]
+        [a-z\xaa\xb5\xba\xdf-\xf6\xf8-\xff]
         [A-Z\xc0-\xd6\xd8-\xde]
         Ket
         End


Locale test did not run entirely successfully.
This usually means that there is a problem with the locale
settings rather than a bug in PCRE.
Test 4: UTF-16 support (Compatible with Perl >= 5.10)
OK
OK with study
Test 5: API, internals, and non-Perl stuff for UTF-16 support
OK
OK with study
Test 6: Unicode property support (Compatible with Perl >= 5.10)
OK
OK with study
Test 7: API, internals, and non-Perl stuff for Unicode property support
OK
OK with study
Test 8: DFA matching main functionality
OK
OK with study
Test 9: DFA matching with UTF-16
OK
OK with study
Test 10: DFA matching with Unicode properties
OK
OK with study
Test 11: Internal offsets and code size tests
OK
OK with study
Test 12: JIT-specific features (JIT available)
Skipped because JIT is not available or not usable
Test 13: JIT-specific features (JIT not available)
OK
Test 14: specials for the basic 8-bit library
Skipped when running 16-bit tests
Test 15: specials for the 8-bit library with UTF-8 support
Skipped when running 16-bit tests
Test 16: specials for the 8-bit library with Unicode propery support
Skipped when running 16-bit tests
Test 17: specials for the basic 16-bit library
OK
OK with study
Test 18: specials for the 16-bit library with UTF-16 support
OK
OK with study
Test 19: specials for the 16-bit library with Unicode propery support
OK
OK with study
Test 20: DFA specials for the basic 16-bit library
OK
OK with study
Test 21: reloads for the basic 16-bit library
OK
Test 22: reloads for the 16-bit library with UTF-16 support
OK
PASS: RunTest

Testing pcregrep
pcregrep version 8.30 2012-02-04
Testing pcregrep UTF-8 features
Testing pcregrep newline settings
PASS: RunGrepTest
==================
All 5 tests passed
==================
fang% echo $?
0


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email