Browse Source

BUG: Exclude try_compile sources and kwsys files from CMake coverage results.

pull/1/head
David Cole 18 years ago
parent
commit
cba1ad5603
  1. 11
      CTestCustom.cmake.in

11
CTestCustom.cmake.in

@ -39,3 +39,14 @@ IF(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
"Kdevelop"
)
ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
# Exclude kwsys files from coverage results. They are reported
# (with better coverage results) on kwsys dashboards...
"/Source/(cm|kw)sys/"
# Exclude try_compile sources from coverage results:
"/CMakeFiles/CMakeTmp/"
)
Loading…
Cancel
Save