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
1 changed files with 1 additions and 1 deletions

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()