Move some tests back into test 1 now that JIT has been updated.

This commit is contained in:
Philip.Hazel 2017-03-24 18:40:15 +00:00
parent 13c416a9b1
commit 39d9294d14
4 changed files with 89 additions and 95 deletions

23
testdata/testinput1 vendored
View File

@ -5882,4 +5882,27 @@ ef) x/x,mark
Ab
Ac
/^(.|(.)(?1)\2)$/
a
aba
abcba
ababa
abcdcba
/^((.)(?1)\2|.?)$/
a
aba
abba
abcba
ababa
abccba
abcdcba
abcddcba
/^(.)(\1|a(?2))/
bab
/^(.|(.)(?1)?\2)$/
abcba
# End of testinput1

26
testdata/testinput2 vendored
View File

@ -4978,32 +4978,6 @@ a)"xI
AZB
AZBDZ
# These four are temporarily here instead of test 1 while waiting for a JIT
# update. They require backtracking into recursions.
/^(.|(.)(?1)\2)$/
a
aba
abcba
ababa
abcdcba
/^((.)(?1)\2|.?)$/
a
aba
abba
abcba
ababa
abccba
abcdcba
abcddcba
/^(.)(\1|a(?2))/
bab
/^(.|(.)(?1)?\2)$/
abcba
# The first of these, when run by Perl, gives the mark 'aa', which is wrong.
'(?>a(*:aa))b|ac' mark

66
testdata/testoutput1 vendored
View File

@ -9401,4 +9401,70 @@ No match
Ac
0: c
/^(.|(.)(?1)\2)$/
a
0: a
1: a
aba
0: aba
1: aba
2: a
abcba
0: abcba
1: abcba
2: a
ababa
0: ababa
1: ababa
2: a
abcdcba
0: abcdcba
1: abcdcba
2: a
/^((.)(?1)\2|.?)$/
a
0: a
1: a
aba
0: aba
1: aba
2: a
abba
0: abba
1: abba
2: a
abcba
0: abcba
1: abcba
2: a
ababa
0: ababa
1: ababa
2: a
abccba
0: abccba
1: abccba
2: a
abcdcba
0: abcdcba
1: abcdcba
2: a
abcddcba
0: abcddcba
1: abcddcba
2: a
/^(.)(\1|a(?2))/
bab
0: bab
1: b
2: ab
/^(.|(.)(?1)?\2)$/
abcba
0: abcba
1: abcba
2: a
# End of testinput1

69
testdata/testoutput2 vendored
View File

@ -15482,75 +15482,6 @@ No match
1: B
2: Z
# These four are temporarily here instead of test 1 while waiting for a JIT
# update. They require backtracking into recursions.
/^(.|(.)(?1)\2)$/
a
0: a
1: a
aba
0: aba
1: aba
2: a
abcba
0: abcba
1: abcba
2: a
ababa
0: ababa
1: ababa
2: a
abcdcba
0: abcdcba
1: abcdcba
2: a
/^((.)(?1)\2|.?)$/
a
0: a
1: a
aba
0: aba
1: aba
2: a
abba
0: abba
1: abba
2: a
abcba
0: abcba
1: abcba
2: a
ababa
0: ababa
1: ababa
2: a
abccba
0: abccba
1: abccba
2: a
abcdcba
0: abcdcba
1: abcdcba
2: a
abcddcba
0: abcddcba
1: abcddcba
2: a
/^(.)(\1|a(?2))/
bab
0: bab
1: b
2: ab
/^(.|(.)(?1)?\2)$/
abcba
0: abcba
1: abcba
2: a
# The first of these, when run by Perl, gives the mark 'aa', which is wrong.
'(?>a(*:aa))b|ac' mark