CTestCustom.cmake.in 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. SET(CTEST_CUSTOM_ERROR_MATCH
  2. ${CTEST_CUSTOM_ERROR_MATCH}
  3. "ERROR:")
  4. SET(CTEST_CUSTOM_WARNING_EXCEPTION
  5. ${CTEST_CUSTOM_WARNING_EXCEPTION}
  6. "xtree.[0-9]+. : warning C4702: unreachable code"
  7. "warning LNK4221"
  8. "warning LNK4204" # Occurs by race condition with objects in small libs
  9. "variable .var_args[2]*. is used before its value is set"
  10. "jobserver unavailable"
  11. "warning: \\(Long double usage is reported only once for each file"
  12. "warning: To disable this warning use"
  13. "could not be inlined"
  14. "libcmcurl.*has no symbols"
  15. "not sorted slower link editing will result"
  16. "stl_deque.h:479"
  17. "Utilities.cmzlib."
  18. "Utilities.cmbzip2."
  19. "Source.CTest.Curl"
  20. "Source.CursesDialog.form"
  21. "Utilities.cmcurl"
  22. "Utilities.cmexpat."
  23. "Utilities.cmlibarchive"
  24. "/usr/include.*warning.*shadowed declaration is here"
  25. "/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist"
  26. "Redeclaration of .send..... with a different storage class specifier"
  27. "is not used for resolving any symbol"
  28. "Clock skew detected"
  29. "remark\\(1209"
  30. "remark: .*LOOP WAS VECTORIZED"
  31. "warning .980: wrong number of actual arguments to intrinsic function .std::basic_"
  32. "LINK : warning LNK4089: all references to.*ADVAPI32.dll.*discarded by /OPT:REF"
  33. "LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF"
  34. "Warning: library was too large for page size.*"
  35. "Warning: public.*_archive_.*in module.*archive_*clashes with prior module.*archive_.*"
  36. "Warning: public.*BZ2_bz.*in module.*bzlib.*clashes with prior module.*bzlib.*"
  37. "Warning: public.*_archive.*clashes with prior module.*"
  38. "Warning: LINN32: Last line.*is less.*"
  39. "warning.*directory name.*CMake-Xcode.*/bin/.*does not exist.*"
  40. "stl_deque.h:1051"
  41. "(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
  42. "[Qq]t([Cc]ore|[Gg]ui).*warning.*conversion.*may alter its value"
  43. "Parser.cxx.*warning.*2111-D.*statement is unreachable"
  44. "warning:.*is.*very unsafe.*consider using.*"
  45. "warning:.*is.*misused, please use.*"
  46. "CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
  47. "cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
  48. "ld: warning: directory not found for option .-(F|L)"
  49. "warning.*This version of Mac OS X is unsupported"
  50. "clang.*: warning: argument unused during compilation: .-g"
  51. # Ignore clang's summary warning, assuming prior text has matched some
  52. # other warning expression:
  53. "[0-9,]+ warnings? generated."
  54. )
  55. IF(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  56. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  57. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  58. "XCode"
  59. )
  60. ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  61. IF(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  62. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  63. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  64. "Kdevelop"
  65. )
  66. ENDIF (NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  67. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  68. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  69. # Exclude kwsys files from coverage results. They are reported
  70. # (with better coverage results) on kwsys dashboards...
  71. "/Source/(cm|kw)sys/"
  72. # Exclude try_compile sources from coverage results:
  73. "/CMakeFiles/CMakeTmp/"
  74. # Exclude Qt source files from coverage results:
  75. "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
  76. )