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)
add_coverage(SelfTest)
list(APPEND LCOV_REMOVE_PATTERNS "/sys/")
list(APPEND LCOV_REMOVE_PATTERNS "/usr/")
coverage_evaluate()
endif()