diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-12-27 16:53:09 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-12-27 16:53:09 +0000 |
commit | 50ff7a0c78767ca9035827392c9203911a18d325 (patch) | |
tree | 51ccd5300df901232bcf02fba8ed70d625a09d63 | |
parent | 38949e22f8228b2b195315ba97fe8a0839e5520a (diff) | |
download | pcre-50ff7a0c78767ca9035827392c9203911a18d325.tar.gz |
Update ManyConfigTests script and fix RunGrepTest bug and --disable-stack-
for-recursion bug in 16-bit mode.
git-svn-id: svn://vcs.exim.org/pcre/code/branches/pcre16@831 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rwxr-xr-x | RunGrepTest | 2 | ||||
-rwxr-xr-x | maint/ManyConfigTests | 12 | ||||
-rw-r--r-- | pcre_exec.c | 11 |
3 files changed, 20 insertions, 5 deletions
diff --git a/RunGrepTest b/RunGrepTest index b0595d8..bc79a5a 100755 --- a/RunGrepTest +++ b/RunGrepTest @@ -66,7 +66,7 @@ fi # Check for the availability of UTF-8 support -./pcretest -C | ./pcregrep "No UTF-8 support" >/dev/null +./pcretest -C utf >/dev/null utf8=$? echo "---------------------------- Test 1 ------------------------------" >testtry diff --git a/maint/ManyConfigTests b/maint/ManyConfigTests index 6a61f84..7bb6a01 100755 --- a/maint/ManyConfigTests +++ b/maint/ManyConfigTests @@ -163,7 +163,14 @@ for opts in \ "--enable-utf8 --enable-newline-is-any --enable-unicode-properties --disable-stack-for-recursion --disable-static --disable-cpp" \ "--enable-jit --disable-shared" \ "--enable-jit --enable-unicode-properties --disable-shared" \ - "--enable-jit --enable-unicode-properties --with-link-size=3 --disable-shared" + "--enable-jit --enable-unicode-properties --with-link-size=3 --disable-shared" \ + "--enable-pcre16" \ + "--enable-pcre16 --enable-jit --enable-utf --disable-shared" \ + "--enable-pcre16 --enable-jit --enable-unicode-properties --disable-shared" \ + "--enable-pcre16 --enable-jit --disable-pcre8 --disable-shared" \ + "--enable-pcre16 --enable-jit --disable-pcre8 --enable-utf --disable-shared" \ + "--enable-pcre16 --disable-stack-for-recursion --disable-shared" \ + "--enable-pcre16 --enable-unicode-properties --disable-stack-for-recursion --disable-shared" do runtest done @@ -178,7 +185,8 @@ withvalgrind="with valgrind" for opts in \ "--enable-unicode-properties --disable-stack-for-recursion --disable-shared" \ "--enable-unicode-properties --with-link-size=3 --disable-shared" \ - "--enable-jit --enable-unicode-properties --disable-shared" + "--enable-jit --enable-unicode-properties --disable-shared" \ + "--enable-pcre16 --enable-jit --enable-unicode-properties --disable-shared" do runtest done diff --git a/pcre_exec.c b/pcre_exec.c index dc9409c..768b7dc 100644 --- a/pcre_exec.c +++ b/pcre_exec.c @@ -6025,8 +6025,12 @@ switch (frame->Xwhere) LBL(35) LBL(43) LBL(47) LBL(48) LBL(49) LBL(50) LBL(51) LBL(52) LBL(53) LBL(54) LBL(55) LBL(56) LBL(57) LBL(58) LBL(63) LBL(64) LBL(65) LBL(66) -#ifdef SUPPORT_UTF - LBL(16) LBL(18) LBL(20) LBL(21) LBL(22) LBL(23) LBL(28) LBL(30) +#if defined SUPPORT_UTF || !defined COMPILE_PCRE8 + LBL(21) +#endif +#ifdef SUPPORT_UTF + LBL(16) LBL(18) LBL(20) + LBL(22) LBL(23) LBL(28) LBL(30) LBL(32) LBL(34) LBL(42) LBL(46) #ifdef SUPPORT_UCP LBL(36) LBL(37) LBL(38) LBL(39) LBL(40) LBL(41) LBL(44) LBL(45) @@ -6035,6 +6039,9 @@ switch (frame->Xwhere) #endif /* SUPPORT_UTF */ default: DPRINTF(("jump error in pcre match: label %d non-existent\n", frame->Xwhere)); + +printf("+++jump error in pcre match: label %d non-existent\n", frame->Xwhere); + return PCRE_ERROR_INTERNAL; } #undef LBL |