Revision: 1026
http://www.exim.org/viewvc/pcre2?view=rev&revision=1026
Author: ph10
Date: 2018-10-14 16:56:36 +0100 (Sun, 14 Oct 2018)
Log Message:
-----------
Update Makefile.am for compiling with gcov. Add Script Run tests to improve
coverage.
Modified Paths:
--------------
code/trunk/Makefile.am
code/trunk/testdata/testinput4
code/trunk/testdata/testoutput4
Modified: code/trunk/Makefile.am
===================================================================
--- code/trunk/Makefile.am 2018-10-14 14:27:16 UTC (rev 1025)
+++ code/trunk/Makefile.am 2018-10-14 15:56:36 UTC (rev 1026)
@@ -531,6 +531,10 @@
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
Modified: code/trunk/testdata/testinput4
===================================================================
--- code/trunk/testdata/testinput4 2018-10-14 14:27:16 UTC (rev 1025)
+++ code/trunk/testdata/testinput4 2018-10-14 15:56:36 UTC (rev 1026)
@@ -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
Modified: code/trunk/testdata/testoutput4
===================================================================
--- code/trunk/testdata/testoutput4 2018-10-14 14:27:16 UTC (rev 1025)
+++ code/trunk/testdata/testoutput4 2018-10-14 15:56:36 UTC (rev 1026)
@@ -3940,6 +3940,22 @@
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