CTestCustom.cmake.in 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. "stl_deque.h:1051"
  28. "(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
  29. "[Qq]t([Cc]ore|[Gg]ui).*warning.*conversion.*may alter its value"
  30. "Parser.cxx.*warning.*2111-D.*statement is unreachable"
  31. "CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
  32. )
  33. IF(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  34. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  35. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  36. "XCode"
  37. )
  38. ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  39. IF(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  40. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  41. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  42. "Kdevelop"
  43. )
  44. ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  45. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  46. ${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/"
  50. # Exclude try_compile sources from coverage results:
  51. "/CMakeFiles/CMakeTmp/"
  52. # Exclude Qt source files from coverage results:
  53. "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
  54. )