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