[Pcre-svn] [1212] code/trunk: Test 20 alleged it was DFA, b… |
このメッセージは次のスレッドの一部です: | |
---|---|
日付によるスレッドの仕分け | |
http://vcs.pcre.org/viewvc?view=rev&revision=1212 Author: ph10 Date: 2012-11-07 17:13:22 +0000 (Wed, 07 Nov 2012)
Modified Paths: -------------- code/trunk/RunTest code/trunk/testdata/testinput17 code/trunk/testdata/testinput20 code/trunk/testdata/testoutput17 code/trunk/testdata/testoutput20
Modified: code/trunk/RunTest =================================================================== --- code/trunk/RunTest 2012-11-07 17:02:03 UTC (rev 1211) +++ code/trunk/RunTest 2012-11-07 17:13:22 UTC (rev 1212) @@ -872,7 +872,7 @@ fi fi
if [ $do20 = yes ] ; then echo $title20 @@ -880,7 +880,7 @@ echo " Skipped when running 8-bit tests" else for opt in "" "-s"; do - $sim $valgrind ./pcretest -q $bmode $opt $testdata/testinput20 testtry + $sim $valgrind ./pcretest -q $bmode $opt -dfa $testdata/testinput20 testtry if [ $? = 0 ] ; then $cf $testdata/testoutput20 testtry if [ $? != 0 ] ; then exit 1; fi
Modified: code/trunk/testdata/testinput17 =================================================================== --- code/trunk/testdata/testinput17 2012-11-07 17:02:03 UTC (rev 1211) +++ code/trunk/testdata/testinput17 2012-11-07 17:13:22 UTC (rev 1212) @@ -1,13 +1,12 @@ -/-- This set of tests is for the 16- and 32-bit library's basic (non-UTF-16 or -32) features - that are not compatible with the 8-bit library, or which give different - output in 16- or 32-bit mode. --/ +/-- This set of tests is for the 16- and 32-bit library's basic (non-UTF-16 + or -32) features that are not compatible with the 8-bit library, or which + give different output in 16- or 32-bit mode. --/
/a\Cb/ aXb a\nb
+/^\x{ffff}+/i + \x{ffff} + +/^\x{ffff}?/i + \x{ffff} + +/^\x{ffff}*/i + \x{ffff} + +/^\x{ffff}{3}/i + \x{ffff}\x{ffff}\x{ffff} + +/^\x{ffff}{0,3}/i + \x{ffff} + /-- End of testinput17 --/
Modified: code/trunk/testdata/testinput20 =================================================================== --- code/trunk/testdata/testinput20 2012-11-07 17:02:03 UTC (rev 1211) +++ code/trunk/testdata/testinput20 2012-11-07 17:13:22 UTC (rev 1212) @@ -1,5 +1,5 @@ -/-- These tests are for the handling of characters greater than 255 in 16-bit, - non-UTF-16 mode, or in 32-bit mode. --/ +/-- These DFA tests are for the handling of characters greater than 255 in + 16- or 32-bit, non-UTF mode. --/
/^\x{ffff}+/i \x{ffff}
Modified: code/trunk/testdata/testoutput17 =================================================================== --- code/trunk/testdata/testoutput17 2012-11-07 17:02:03 UTC (rev 1211) +++ code/trunk/testdata/testoutput17 2012-11-07 17:13:22 UTC (rev 1212) @@ -1,6 +1,6 @@ -/-- This set of tests is for the 16- and 32-bit library's basic (non-UTF-16 or -32) features - that are not compatible with the 8-bit library, or which give different - output in 16- or 32-bit mode. --/ +/-- This set of tests is for the 16- and 32-bit library's basic (non-UTF-16 + or -32) features that are not compatible with the 8-bit library, or which + give different output in 16- or 32-bit mode. --/
/a\Cb/ aXb @@ -19,7 +19,6 @@ No options No first char No need char -
/\x{100}/I Capturing subpattern count = 0 @@ -483,4 +482,24 @@ End ------------------------------------------------------------------
+/^\x{ffff}+/i + \x{ffff} + 0: \x{ffff} + +/^\x{ffff}?/i + \x{ffff} + 0: \x{ffff} + +/^\x{ffff}*/i + \x{ffff} + 0: \x{ffff} + +/^\x{ffff}{3}/i + \x{ffff}\x{ffff}\x{ffff} + 0: \x{ffff}\x{ffff}\x{ffff} + +/^\x{ffff}{0,3}/i + \x{ffff} + 0: \x{ffff} + /-- End of testinput17 --/
Modified: code/trunk/testdata/testoutput20 =================================================================== --- code/trunk/testdata/testoutput20 2012-11-07 17:02:03 UTC (rev 1211) +++ code/trunk/testdata/testoutput20 2012-11-07 17:13:22 UTC (rev 1212) @@ -1,5 +1,5 @@ -/-- These tests are for the handling of characters greater than 255 in 16-bit, - non-UTF-16 mode, or in 32-bit mode. --/ +/-- These DFA tests are for the handling of characters greater than 255 in + 16- or 32-bit, non-UTF mode. --/
/^\x{ffff}+/i \x{ffff} @@ -8,10 +8,12 @@ /^\x{ffff}?/i \x{ffff} 0: \x{ffff} + 1:
/^\x{ffff}*/i \x{ffff} 0: \x{ffff} + 1:
/^\x{ffff}{3}/i \x{ffff}\x{ffff}\x{ffff} @@ -20,5 +22,6 @@ /^\x{ffff}{0,3}/i \x{ffff} 0: \x{ffff} + 1:
このメッセージは次のメーリングリストに投稿されました: | ||||
---|---|---|---|---|
Pcre-svn メーリングリスト情報 | となりのメッセージ | [Pcre-svn] [1211] code/trunk: Fix pcretest -C pcre8/pcre16 bug. | [Pcre-svn] [1213] code/trunk/doc/pcrepattern.3: Add more words about $. |
Tahini and Hummus and Cumin Development Archives サイト管理人: cumin Admins | Lurker (バージョン 2.3) |