CTestCustom.cmake.in 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. "Source.CTest.Curl"
  16. "Source.CursesDialog.form"
  17. "Utilities.cmcurl"
  18. "Utilities.cmexpat."
  19. "Utilities.cmtar"
  20. "/usr/include.*warning.*shadowed declaration is here"
  21. "/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist"
  22. "Redeclaration of .send..... with a different storage class specifier"
  23. "is not used for resolving any symbol"
  24. "Clock skew detected"
  25. "remark\\(1209"
  26. "stl_deque.h:1051"
  27. "(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
  28. "Parser.cxx.*warning.*2111-D.*statement is unreachable"
  29. "CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
  30. )
  31. IF(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  32. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  33. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  34. "XCode"
  35. )
  36. ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  37. IF(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  38. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  39. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  40. "Kdevelop"
  41. )
  42. ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  43. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  44. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  45. # Exclude kwsys files from coverage results. They are reported
  46. # (with better coverage results) on kwsys dashboards...
  47. "/Source/(cm|kw)sys/"
  48. # Exclude try_compile sources from coverage results:
  49. "/CMakeFiles/CMakeTmp/"
  50. )