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