CTestCustom.cmake.in 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. "(Lexer|Parser).*warning.*statement is unreachable"
  43. "PGC-W-0095-Type cast required for this conversion.*ProcessUNIX.c"
  44. "[Qq]t([Cc]ore|[Gg]ui).*warning.*conversion.*may alter its value"
  45. "warning:.*is.*very unsafe.*consider using.*"
  46. "warning:.*is.*misused, please use.*"
  47. "CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
  48. "cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
  49. "ld: warning: directory not found for option .-(F|L)"
  50. "warning.*This version of Mac OS X is unsupported"
  51. "clang.*: warning: argument unused during compilation: .-g"
  52. # Ignore clang's summary warning, assuming prior text has matched some
  53. # other warning expression:
  54. "[0-9,]+ warnings? generated."
  55. )
  56. if(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  57. set(CTEST_CUSTOM_COVERAGE_EXCLUDE
  58. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  59. "XCode"
  60. )
  61. endif ()
  62. if(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  63. set(CTEST_CUSTOM_COVERAGE_EXCLUDE
  64. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  65. "Kdevelop"
  66. )
  67. endif ()
  68. set(CTEST_CUSTOM_COVERAGE_EXCLUDE
  69. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  70. # Exclude kwsys files from coverage results. They are reported
  71. # (with better coverage results) on kwsys dashboards...
  72. "/Source/(cm|kw)sys/"
  73. # Exclude try_compile sources from coverage results:
  74. "/CMakeFiles/CMakeTmp/"
  75. # Exclude Qt source files from coverage results:
  76. "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
  77. )