Remove \C tests from JIT regression when NEVER_BACKSLASH_C is defined.
This commit is contained in:
parent
4ac74a013b
commit
5e3a1da503
|
@ -16,6 +16,9 @@ that is called by both pcre2_match() and pcre2_dfa_match().
|
||||||
4. Add new pcre2_config() options: PCRE2_CONFIG_NEVER_BACKSLASH_C and
|
4. Add new pcre2_config() options: PCRE2_CONFIG_NEVER_BACKSLASH_C and
|
||||||
PCRE2_CONFIG_COMPILED_WIDTHS.
|
PCRE2_CONFIG_COMPILED_WIDTHS.
|
||||||
|
|
||||||
|
5. Cut out \C tests in the JIT regression tests when NEVER_BACKSLASH_C is
|
||||||
|
defined (e.g. by --enable-never-backslash-C).
|
||||||
|
|
||||||
|
|
||||||
Version 10.30 14-August-2017
|
Version 10.30 14-August-2017
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
|
@ -179,10 +179,12 @@ static struct regression_test_case regression_test_cases[] = {
|
||||||
{ PCRE2_CASELESS, 0, 0, 0, "\xff#a", "\xff#\xff\xfe##\xff#A" },
|
{ PCRE2_CASELESS, 0, 0, 0, "\xff#a", "\xff#\xff\xfe##\xff#A" },
|
||||||
{ PCRE2_CASELESS, 0, 0, 0, "\xfe", "\xff\xfc#\xfe\xfe" },
|
{ PCRE2_CASELESS, 0, 0, 0, "\xfe", "\xff\xfc#\xfe\xfe" },
|
||||||
{ PCRE2_CASELESS, 0, 0, 0, "a1", "Aa1" },
|
{ PCRE2_CASELESS, 0, 0, 0, "a1", "Aa1" },
|
||||||
|
#ifndef NEVER_BACKSLASH_C
|
||||||
{ M, A, 0, 0, "\\Ca", "cda" },
|
{ M, A, 0, 0, "\\Ca", "cda" },
|
||||||
{ CM, A, 0, 0, "\\Ca", "CDA" },
|
{ CM, A, 0, 0, "\\Ca", "CDA" },
|
||||||
{ M, A, 0, 0 | F_NOMATCH, "\\Cx", "cda" },
|
{ M, A, 0, 0 | F_NOMATCH, "\\Cx", "cda" },
|
||||||
{ CM, A, 0, 0 | F_NOMATCH, "\\Cx", "CDA" },
|
{ CM, A, 0, 0 | F_NOMATCH, "\\Cx", "CDA" },
|
||||||
|
#endif
|
||||||
{ CMUP, A, 0, 0, "\xf0\x90\x90\x80\xf0\x90\x90\xa8", "\xf0\x90\x90\xa8\xf0\x90\x90\x80" },
|
{ CMUP, A, 0, 0, "\xf0\x90\x90\x80\xf0\x90\x90\xa8", "\xf0\x90\x90\xa8\xf0\x90\x90\x80" },
|
||||||
{ CMUP, A, 0, 0, "\xf0\x90\x90\x80{2}", "\xf0\x90\x90\x80#\xf0\x90\x90\xa8\xf0\x90\x90\x80" },
|
{ CMUP, A, 0, 0, "\xf0\x90\x90\x80{2}", "\xf0\x90\x90\x80#\xf0\x90\x90\xa8\xf0\x90\x90\x80" },
|
||||||
{ CMUP, A, 0, 0, "\xf0\x90\x90\xa8{2}", "\xf0\x90\x90\x80#\xf0\x90\x90\xa8\xf0\x90\x90\x80" },
|
{ CMUP, A, 0, 0, "\xf0\x90\x90\xa8{2}", "\xf0\x90\x90\x80#\xf0\x90\x90\xa8\xf0\x90\x90\x80" },
|
||||||
|
|
Loading…
Reference in New Issue