CTestCustom.cmake.in 2.71 KB
Newer Older
1 2 3 4
SET(CTEST_CUSTOM_WARNING_EXCEPTION
  ${CTEST_CUSTOM_WARNING_EXCEPTION}
  "xtree.[0-9]+. : warning C4702: unreachable code"
  "warning LNK4221"
5
  "warning LNK4204" # Occurs by race condition with objects in small libs
6 7 8 9 10 11 12 13 14
  "variable .var_args[2]*. is used before its value is set"
  "jobserver unavailable"
  "warning: \\(Long double usage is reported only once for each file"
  "warning: To disable this warning use"
  "could not be inlined"
  "libcmcurl.*has no symbols"
  "not sorted slower link editing will result"
  "stl_deque.h:479"
  "Utilities.cmzlib."
15
  "Utilities.cmbzip2."
16
  "Source.CTest.Curl"
17
  "Source.CursesDialog.form"
18
  "Utilities.cmcurl"
19
  "Utilities.cmexpat."
20
  "Utilities.cmlibarchive"
21
  "/usr/include.*warning.*shadowed declaration is here"
22 23 24 25 26
  "/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist"
  "Redeclaration of .send..... with a different storage class specifier"
  "is not used for resolving any symbol"
  "Clock skew detected"
  "remark\\(1209"
27 28
  "LINK : warning LNK4089: all references to.*ADVAPI32.dll.*discarded by /OPT:REF"
  "LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF"
29 30 31
  "Warning: library was too large for page size.*"
  "Warning: public.*_archive_.*in module.*archive_*clashes with prior module.*archive_.*"
  "Warning: public.*BZ2_bz.*in module.*bzlib.*clashes with prior module.*bzlib.*"
32
  "Warning: public.*_archive.*clashes with prior module.*"
33
  "Warning: LINN32: Last line.*is less.*"
34
  "warning.*directory name.*CMake-Xcode.*/bin/.*does not exist.*"
35
  "stl_deque.h:1051"
36
  "(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
37
  "[Qq]t([Cc]ore|[Gg]ui).*warning.*conversion.*may alter its value"
38
  "Parser.cxx.*warning.*2111-D.*statement is unreachable"
39 40
  "warning:.*is.*very unsafe.*consider using.*"
  "warning:.*is.*misused, please use.*"
41
  "CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
42
  "cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
  )

IF(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
    ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
    "XCode"
    )
ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")

IF(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
    ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
    "Kdevelop"
    )
ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
58 59 60 61 62 63 64 65 66 67

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/"
68 69 70

  # Exclude Qt source files from coverage results:
  "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
71
  )