mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
Remove system headers when preprocessing coverage report
This commit is contained in:
parent
b76e80ed3d
commit
67f734c799
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user