1
0
mirror of https://github.com/catchorg/Catch2.git synced 2025-04-29 12:03:53 +00:00

Remove system headers when preprocessing coverage report

This commit is contained in:
Martin Hořeňovský 2017-12-02 14:17:11 +01:00
parent b76e80ed3d
commit 67f734c799

View File

@ -306,7 +306,7 @@ if (NOT NO_SELFTEST)
if (ENABLE_COVERAGE) if (ENABLE_COVERAGE)
add_coverage(SelfTest) add_coverage(SelfTest)
list(APPEND LCOV_REMOVE_PATTERNS "/sys/") list(APPEND LCOV_REMOVE_PATTERNS "/usr/")
coverage_evaluate() coverage_evaluate()
endif() endif()