CTestCustom.cmake.in 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. "[Qq]t([Cc]ore|[Gg]ui).*warning.*conversion.*may alter its value"
  29. "Parser.cxx.*warning.*2111-D.*statement is unreachable"
  30. "CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
  31. )
  32. IF(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  33. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  34. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  35. "XCode"
  36. )
  37. ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  38. IF(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  39. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  40. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  41. "Kdevelop"
  42. )
  43. ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  44. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  45. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  46. # Exclude kwsys files from coverage results. They are reported
  47. # (with better coverage results) on kwsys dashboards...
  48. "/Source/(cm|kw)sys/"
  49. # Exclude try_compile sources from coverage results:
  50. "/CMakeFiles/CMakeTmp/"
  51. # Exclude Qt source files from coverage results:
  52. "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
  53. )