CTestCustom.cmake.in 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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.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. "/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist"
  23. "Redeclaration of .send..... with a different storage class specifier"
  24. "is not used for resolving any symbol"
  25. "Clock skew detected"
  26. "remark\\(1209"
  27. "remark: .*LOOP WAS VECTORIZED"
  28. "warning .980: wrong number of actual arguments to intrinsic function .std::basic_"
  29. "LINK : warning LNK4089: all references to.*ADVAPI32.dll.*discarded by /OPT:REF"
  30. "LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF"
  31. "Warning: library was too large for page size.*"
  32. "Warning: public.*_archive_.*in module.*archive_*clashes with prior module.*archive_.*"
  33. "Warning: public.*BZ2_bz.*in module.*bzlib.*clashes with prior module.*bzlib.*"
  34. "Warning: public.*_archive.*clashes with prior module.*"
  35. "Warning: LINN32: Last line.*is less.*"
  36. "warning.*directory name.*CMake-Xcode.*/bin/.*does not exist.*"
  37. "stl_deque.h:1051"
  38. "(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
  39. "[Qq]t([Cc]ore|[Gg]ui).*warning.*conversion.*may alter its value"
  40. "Parser.cxx.*warning.*2111-D.*statement is unreachable"
  41. "warning:.*is.*very unsafe.*consider using.*"
  42. "warning:.*is.*misused, please use.*"
  43. "CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
  44. "cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
  45. "ld: warning: directory not found for option .-(F|L)"
  46. "warning.*This version of Mac OS X is unsupported"
  47. # Ignore clang's summary warning, assuming prior text has matched some
  48. # other warning expression:
  49. "[0-9,]+ warnings? generated."
  50. )
  51. IF(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  52. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  53. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  54. "XCode"
  55. )
  56. ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  57. IF(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  58. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  59. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  60. "Kdevelop"
  61. )
  62. ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  63. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  64. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  65. # Exclude kwsys files from coverage results. They are reported
  66. # (with better coverage results) on kwsys dashboards...
  67. "/Source/(cm|kw)sys/"
  68. # Exclude try_compile sources from coverage results:
  69. "/CMakeFiles/CMakeTmp/"
  70. # Exclude Qt source files from coverage results:
  71. "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
  72. )