CTestCustom.cmake.in 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. "LINK : warning LNK4089: all references to.*ADVAPI32.dll.*discarded by /OPT:REF"
  29. "LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF"
  30. "Warning: library was too large for page size.*"
  31. "Warning: public.*_archive_.*in module.*archive_*clashes with prior module.*archive_.*"
  32. "Warning: public.*BZ2_bz.*in module.*bzlib.*clashes with prior module.*bzlib.*"
  33. "Warning: public.*_archive.*clashes with prior module.*"
  34. "Warning: LINN32: Last line.*is less.*"
  35. "warning.*directory name.*CMake-Xcode.*/bin/.*does not exist.*"
  36. "stl_deque.h:1051"
  37. "(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
  38. "[Qq]t([Cc]ore|[Gg]ui).*warning.*conversion.*may alter its value"
  39. "Parser.cxx.*warning.*2111-D.*statement is unreachable"
  40. "warning:.*is.*very unsafe.*consider using.*"
  41. "warning:.*is.*misused, please use.*"
  42. "CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
  43. "cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
  44. )
  45. IF(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  46. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  47. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  48. "XCode"
  49. )
  50. ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  51. IF(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  52. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  53. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  54. "Kdevelop"
  55. )
  56. ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  57. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  58. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  59. # Exclude kwsys files from coverage results. They are reported
  60. # (with better coverage results) on kwsys dashboards...
  61. "/Source/(cm|kw)sys/"
  62. # Exclude try_compile sources from coverage results:
  63. "/CMakeFiles/CMakeTmp/"
  64. # Exclude Qt source files from coverage results:
  65. "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
  66. )