11 Commits

Author SHA1 Message Date
Nicholas Wilson
379123db61 Improvements to CI code coverage (#796)
- Add maint/RunCoverage script to allow gathering Clang coverage locally more easily
- Add LCOV exclusion comments to unreachable code
- Add a filtering script so that the CI job respects LCOV_EXCL_* comments
2025-09-20 15:10:48 +01:00
Nicholas Wilson
c98e5d5330 Remove use of 'head' Unix tool in pcre2grep test (#743)
It's not available on Windows, but we hadn't noticed this because it's
provided by the Git for Windows tools which I have installed. This is
not good practice to require these tools as a build dependency.

I have replaced "head -1" with "pcre2grep -m1 .*" which matches and
prints the first line. For consistency, I have made the same change on
Unix.
2025-04-02 20:00:42 +01:00
Nicholas Wilson
30320bb18d Add test and fix for buffer over-read in pcre2grep (#594)
Found by Clang-Analyze in #576

This test fails without the code fix, which required correcting the way
the pcre2grep tests are run with valgrind.

The new test passes with the code changes made.
2024-12-06 17:18:33 +00:00
Philip Hazel
bacb1c24c0 Fix stupid typo 2024-11-27 16:10:44 +00:00
Philip Hazel
f4e2424275 Update RunGrepTest.bat to match updated RunGrepTest 2024-11-27 16:05:51 +00:00
Nicholas Wilson
29e51cfa53 Add RunGrepTest.bat to CMake (#581) 2024-11-27 13:56:50 +01:00
Philip.Hazel
0ad7ff1549 Add --disable-pcre2grep-callout-fork configuration setting. 2018-11-17 16:45:57 +00:00
Philip.Hazel
7afe4e4110 Documentation tidies and code tidies for Windows. 2017-04-08 15:21:39 +00:00
Philip.Hazel
88abc14e42 Jason Hood's pcre2grep patches (modified a bit) to add --output to pcre2grep,
and also an inbuilt callout echo.
2017-04-06 18:02:40 +00:00
Philip.Hazel
f19d6e1a35 Update Windows grep test script in line with the non-Windows version. 2017-02-14 10:29:00 +00:00
Philip.Hazel
3efb5641ee Add RunGrepTest.bat (supplied by Jason Hood). 2016-12-31 14:12:53 +00:00