CTestCustom.cmake.in 3.5 KB

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