Treat suspicious gcov hit counts as coverage warnings (#737)

This commit is contained in:
tequ
2026-04-29 16:06:44 +09:00
committed by GitHub
parent 49fd0c33b5
commit 9d4e507675

View File

@@ -380,6 +380,7 @@ function(setup_target_for_coverage_gcovr)
${GCOVR_PATH}
--gcov-executable ${GCOV_TOOL}
--gcov-ignore-parse-errors=negative_hits.warn_once_per_file
--gcov-ignore-parse-errors=suspicious_hits.warn_once_per_file
-r ${BASEDIR}
${GCOVR_ADDITIONAL_ARGS}
${GCOVR_EXCLUDE_ARGS}