From ae33ced0dcb52dcfc0f96b87c610bbfd1da68ebe Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Thu, 6 Nov 2025 14:13:20 +0100 Subject: [PATCH] coverage: Ignore parse errors again Without this, the gcov is crashing with some suspicious coverage reports on functions like `uint32_divmod_uint14()` from internal sntrup implementation. Signed-off-by: Jakub Jelen Reviewed-by: Andreas Schneider --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 05c8c44c..9c72eb85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -199,7 +199,7 @@ if (WITH_COVERAGE) NAME "coverage" EXECUTABLE make test DEPENDENCIES ssh tests) - set(GCOVR_ADDITIONAL_ARGS --xml-pretty --exclude-unreachable-branches --print-summary) + set(GCOVR_ADDITIONAL_ARGS --xml-pretty --exclude-unreachable-branches --print-summary --gcov-ignore-parse-errors) setup_target_for_coverage_gcovr_xml( NAME "coverage_xml" EXECUTABLE make test