ENH: fix return value to ctest_build and remove debug print in cmProcess
[cmake.git] / CTestCustom.cmake.in
blob1b18ece96960c290b565b9010743d43f002760cc
1 SET(CTEST_CUSTOM_WARNING_EXCEPTION
2   ${CTEST_CUSTOM_WARNING_EXCEPTION}
3   "xtree.[0-9]+. : warning C4702: unreachable code"
4   "warning LNK4221"
5   "warning LNK4204" # Occurs by race condition with objects in small libs
6   "variable .var_args[2]*. is used before its value is set"
7   "jobserver unavailable"
8   "warning: \\(Long double usage is reported only once for each file"
9   "warning: To disable this warning use"
10   "could not be inlined"
11   "libcmcurl.*has no symbols"
12   "not sorted slower link editing will result"
13   "stl_deque.h:479"
14   "Utilities.cmzlib."
15   "Utilities.cmxmlrpc."
16   "Source.CTest.Curl"
17   "Utilities.cmcurl"
18   "Source.CursesDialog.form"
19   "/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist"
20   "Redeclaration of .send..... with a different storage class specifier"
21   "Utilities.cmexpat."
22   "is not used for resolving any symbol"
23   "Clock skew detected"
24   "remark\\(1209"
25   "stl_deque.h:1051"
26   "Parser.cxx.*warning.*2111-D.*statement is unreachable"
27   "CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
28   )
30 IF(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
31   SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
32     ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
33     "XCode"
34     )
35 ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
37 IF(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
38   SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
39     ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
40     "Kdevelop"
41     )
42 ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
44 SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
45   ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
47   # Exclude kwsys files from coverage results. They are reported
48   # (with better coverage results) on kwsys dashboards...
49   "/Source/(cm|kw)sys/"
51   # Exclude try_compile sources from coverage results:
52   "/CMakeFiles/CMakeTmp/"
53   )