diff options
author | David Cole <david.cole@kitware.com> | 2008-02-25 15:17:17 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2008-02-25 15:17:17 (GMT) |
commit | cba1ad560392cd29dc9c677148ac4b8e51acfa75 (patch) | |
tree | 3d24a9273a4a4105fa27f51c6794049dba2f5b4b /CTestCustom.cmake.in | |
parent | 9211b0d23482c0fee8dc64171cf3524feb1ae446 (diff) | |
download | CMake-cba1ad560392cd29dc9c677148ac4b8e51acfa75.zip CMake-cba1ad560392cd29dc9c677148ac4b8e51acfa75.tar.gz CMake-cba1ad560392cd29dc9c677148ac4b8e51acfa75.tar.bz2 |
BUG: Exclude try_compile sources and kwsys files from CMake coverage results.
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r-- | CTestCustom.cmake.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in index af83f1a..68f0ded 100644 --- a/CTestCustom.cmake.in +++ b/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/" + ) |