CTestCustom.cmake.in 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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.*PSAPI.DLL.*discarded by /OPT:REF"
  34. "LINK : warning LNK4089: all references to.*SHELL32.dll.*discarded by /OPT:REF"
  35. "LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF"
  36. "Warning: library was too large for page size.*"
  37. "Warning: public.*_archive_.*in module.*archive_*clashes with prior module.*archive_.*"
  38. "Warning: public.*BZ2_bz.*in module.*bzlib.*clashes with prior module.*bzlib.*"
  39. "Warning: public.*_archive.*clashes with prior module.*"
  40. "Warning: LINN32: Last line.*is less.*"
  41. "warning.*directory name.*CMake-Xcode.*/bin/.*does not exist.*"
  42. "stl_deque.h:1051"
  43. "(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
  44. "(Lexer|Parser).*warning.*statement is unreachable"
  45. "PGC-W-0095-Type cast required for this conversion.*ProcessUNIX.c"
  46. "[Qq]t([Cc]ore|[Gg]ui).*warning.*conversion.*may alter its value"
  47. "warning:.*is.*very unsafe.*consider using.*"
  48. "warning:.*is.*misused, please use.*"
  49. "CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
  50. "cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
  51. "ld: warning: directory not found for option .-(F|L)"
  52. "warning.*This version of Mac OS X is unsupported"
  53. "clang.*: warning: argument unused during compilation: .-g"
  54. # Ignore clang's summary warning, assuming prior text has matched some
  55. # other warning expression:
  56. "[0-9,]+ warnings? generated."
  57. )
  58. if(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  59. set(CTEST_CUSTOM_COVERAGE_EXCLUDE
  60. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  61. "XCode"
  62. )
  63. endif ()
  64. if(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  65. set(CTEST_CUSTOM_COVERAGE_EXCLUDE
  66. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  67. "Kdevelop"
  68. )
  69. endif ()
  70. set(CTEST_CUSTOM_COVERAGE_EXCLUDE
  71. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  72. # Exclude kwsys files from coverage results. They are reported
  73. # (with better coverage results) on kwsys dashboards...
  74. "/Source/(cm|kw)sys/"
  75. # Exclude try_compile sources from coverage results:
  76. "/CMakeFiles/CMakeTmp/"
  77. # Exclude Qt source files from coverage results:
  78. "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
  79. )