summaryrefslogtreecommitdiff
path: root/src/pcre2_jit_test.c
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-09-16 11:46:08 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-09-16 11:46:08 +0000
commitf23f723434f04aa87be9da0f335303c1a4c5bd1e (patch)
tree6f081f61dadb229b0d264f1a70317453112d8d1e /src/pcre2_jit_test.c
parent84f9fb12818f27cb52711622b0c6e266c24fc71c (diff)
downloadpcre2-f23f723434f04aa87be9da0f335303c1a4c5bd1e.tar.gz
Remove \C tests from JIT regression when NEVER_BACKSLASH_C is defined.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@863 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_jit_test.c')
-rw-r--r--src/pcre2_jit_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pcre2_jit_test.c b/src/pcre2_jit_test.c
index 96280b7..fd76e34 100644
--- a/src/pcre2_jit_test.c
+++ b/src/pcre2_jit_test.c
@@ -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, "\xfe", "\xff\xfc#\xfe\xfe" },
{ PCRE2_CASELESS, 0, 0, 0, "a1", "Aa1" },
+#ifndef NEVER_BACKSLASH_C
{ M, A, 0, 0, "\\Ca", "cda" },
{ CM, A, 0, 0, "\\Ca", "CDA" },
{ M, 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{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" },