[Pcre-svn] [766] code/trunk: Some UTF-8 tests were in the wr…

Startseite
Nachricht löschen
Autor: Subversion repository
Datum:  
To: pcre-svn
Betreff: [Pcre-svn] [766] code/trunk: Some UTF-8 tests were in the wrong file.
Revision: 766
          http://vcs.pcre.org/viewvc?view=rev&revision=766
Author:   ph10
Date:     2011-11-25 10:04:12 +0000 (Fri, 25 Nov 2011)


Log Message:
-----------
Some UTF-8 tests were in the wrong file.

Modified Paths:
--------------
    code/trunk/RunTest
    code/trunk/testdata/testinput13
    code/trunk/testdata/testinput2
    code/trunk/testdata/testoutput13
    code/trunk/testdata/testoutput2


Modified: code/trunk/RunTest
===================================================================
--- code/trunk/RunTest    2011-11-23 17:45:04 UTC (rev 765)
+++ code/trunk/RunTest    2011-11-25 10:04:12 UTC (rev 766)
@@ -222,7 +222,7 @@
 # PCRE tests that are not JIT or Perl-compatible: API, errors, internals


 if [ $do2 = yes ] ; then
-  echo "Test 2: API, errors, internals, and non-Perl stuff"
+  echo "Test 2: API, errors, internals, and non-Perl stuff (not UTF-8)"
   for opt in "" "-s" $jitopt; do
     $sim $valgrind ./pcretest -q $opt $testdata/testinput2 testtry
     if [ $? = 0 ] ; then


Modified: code/trunk/testdata/testinput13
===================================================================
--- code/trunk/testdata/testinput13    2011-11-23 17:45:04 UTC (rev 765)
+++ code/trunk/testdata/testinput13    2011-11-25 10:04:12 UTC (rev 766)
@@ -573,4 +573,11 @@
 /^\X/8 
     ́réo


+/^a\X41z/<JS>
+    aX41z
+    *** Failers
+    aAz
+
+/(?<=ab\Cde)X/8
+
 /-- End of testinput13 --/


Modified: code/trunk/testdata/testinput2
===================================================================
--- code/trunk/testdata/testinput2    2011-11-23 17:45:04 UTC (rev 765)
+++ code/trunk/testdata/testinput2    2011-11-25 10:04:12 UTC (rev 766)
@@ -3,7 +3,10 @@
     It also checks the non-Perl syntax the PCRE supports (Python, .NET, 
     Oniguruma). Finally, there are some tests where PCRE and Perl differ, 
     either because PCRE can't be compatible, or there is a possible Perl 
-    bug. --/  
+    bug.
+    
+    NOTE: This is a non-UTF-8 set of tests. When UTF-8 is needed, use test
+    5, and if Unicode Property Support is needed, use test 13. --/  


 /-- Originally, the Perl >= 5.10 things were in here too, but now I have 
     separated many (most?) of them out into test 11. However, there may still 
@@ -3980,11 +3983,6 @@
 /^a\x1z/<JS>
     ax1z


-/^a\X41z/<JS>
-    aX41z
-    *** Failers
-    aAz
-
 /^a\u0041z/<JS>
     aAz
     *** Failers
@@ -4007,8 +4005,6 @@


/(?(?=c)c|d)*+Y/BZ

-/(?<=ab\Cde)X/8
-
 /a[\NB]c/
     aNc



Modified: code/trunk/testdata/testoutput13
===================================================================
--- code/trunk/testdata/testoutput13    2011-11-23 17:45:04 UTC (rev 765)
+++ code/trunk/testdata/testoutput13    2011-11-25 10:04:12 UTC (rev 766)
@@ -1278,4 +1278,15 @@
     ́réo
 No match


+/^a\X41z/<JS>
+    aX41z
+ 0: aX41z
+    *** Failers
+No match
+    aAz
+No match
+
+/(?<=ab\Cde)X/8
+Failed: \C not allowed in lookbehind assertion at offset 10
+
 /-- End of testinput13 --/


Modified: code/trunk/testdata/testoutput2
===================================================================
--- code/trunk/testdata/testoutput2    2011-11-23 17:45:04 UTC (rev 765)
+++ code/trunk/testdata/testoutput2    2011-11-25 10:04:12 UTC (rev 766)
@@ -3,7 +3,10 @@
     It also checks the non-Perl syntax the PCRE supports (Python, .NET, 
     Oniguruma). Finally, there are some tests where PCRE and Perl differ, 
     either because PCRE can't be compatible, or there is a possible Perl 
-    bug. --/  
+    bug.
+    
+    NOTE: This is a non-UTF-8 set of tests. When UTF-8 is needed, use test
+    5, and if Unicode Property Support is needed, use test 13. --/  


 /-- Originally, the Perl >= 5.10 things were in here too, but now I have 
     separated many (most?) of them out into test 11. However, there may still 
@@ -12518,14 +12521,6 @@
     ax1z
  0: ax1z


-/^a\X41z/<JS>
-    aX41z
- 0: aX41z
-    *** Failers
-No match
-    aAz
-No match
-
 /^a\u0041z/<JS>
     aAz
  0: aAz
@@ -12591,9 +12586,6 @@
         End
 ------------------------------------------------------------------


-/(?<=ab\Cde)X/8
-Failed: \C not allowed in lookbehind assertion at offset 10
-
/a[\NB]c/
Failed: \N is not supported in a class at offset 3