diff --git a/Makefile.am b/Makefile.am index bc40c8c..a591c52 100644 --- a/Makefile.am +++ b/Makefile.am @@ -531,6 +531,10 @@ noinst_PROGRAMS += pcre2fuzzcheck pcre2fuzzcheck_SOURCES = src/pcre2_fuzzsupport.c pcre2fuzzcheck_CFLAGS = -DSTANDALONE $(AM_CFLAGS) pcre2fuzzcheck_LDADD = libpcre2-8.la +if WITH_GCOV +pcre2fuzzcheck_CFLAGS += $(GCOV_CFLAGS) +pcre2fuzzcheck_LDADD += $(GCOV_LIBS) +endif # WITH_GCOV endif # WITH FUZZ_SUPPORT endif # WITH_PCRE2_8 diff --git a/testdata/testinput4 b/testdata/testinput4 index c8e9d69..e67dfed 100644 --- a/testdata/testinput4 +++ b/testdata/testinput4 @@ -2434,6 +2434,14 @@ \x{1cf7}\x{0993} Common-extend-Beng Bengali A\x{1abe}BC Test enclosing mark \x{0370}\x{1abe}\x{0371} Which can occur with any script (Greek here) + \x{3001}\x{adf9}\x{3001} [.. Hangul ..] Hangul [.. Hangul ..] + \x{3400}\x{3001}XXX Han [Han etc.] + \x{3400}\x{1cd5} Han [Bengali Devanagari] + \x{ac01}\x{3400} Hangul [.. Hangul ..] + \x{ac01}\x{1cd5} Hangul [Bengali Devanagari] + \x{102e0}\x{06d4}\x{1ee4d} [Arabic Coptic] [Arab Rohingya] Arabic + \x{102e0}\x{06d4}\x{2cc9} [Arabic Coptic] [Arab Rohingya] Coptic + \x{102e0}\x{06d4}\x{10d30} [Arabic Coptic] [Arab Rohingya] Rohingya # Test loop breaking for empty string match diff --git a/testdata/testoutput4 b/testdata/testoutput4 index bef3111..1199885 100644 --- a/testdata/testoutput4 +++ b/testdata/testoutput4 @@ -3940,6 +3940,22 @@ No match 0: A\x{1abe}BC \x{0370}\x{1abe}\x{0371} Which can occur with any script (Greek here) 0: \x{370}\x{1abe}\x{371} + \x{3001}\x{adf9}\x{3001} [.. Hangul ..] Hangul [.. Hangul ..] + 0: \x{3001}\x{adf9}\x{3001} + \x{3400}\x{3001}XXX Han [Han etc.] + 0: \x{3400}\x{3001} + \x{3400}\x{1cd5} Han [Bengali Devanagari] + 0: \x{3400} + \x{ac01}\x{3400} Hangul [.. Hangul ..] + 0: \x{ac01}\x{3400} + \x{ac01}\x{1cd5} Hangul [Bengali Devanagari] + 0: \x{ac01} + \x{102e0}\x{06d4}\x{1ee4d} [Arabic Coptic] [Arab Rohingya] Arabic + 0: \x{102e0}\x{6d4}\x{1ee4d} + \x{102e0}\x{06d4}\x{2cc9} [Arabic Coptic] [Arab Rohingya] Coptic + 0: \x{102e0}\x{6d4} + \x{102e0}\x{06d4}\x{10d30} [Arabic Coptic] [Arab Rohingya] Rohingya + 0: \x{102e0}\x{6d4} # Test loop breaking for empty string match