CTestCustom.cmake.in 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. "Source.cm_sha2.*warning.*cast increases required alignment of target type"
  22. "Utilities.cmcurl"
  23. "Utilities.cmexpat."
  24. "Utilities.cmlibarchive"
  25. "/usr/include.*warning.*shadowed declaration is here"
  26. "/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist"
  27. "Redeclaration of .send..... with a different storage class specifier"
  28. "is not used for resolving any symbol"
  29. "Clock skew detected"
  30. "remark\\(1209"
  31. "remark: .*LOOP WAS VECTORIZED"
  32. "warning .980: wrong number of actual arguments to intrinsic function .std::basic_"
  33. "LINK : warning LNK4089: all references to.*ADVAPI32.dll.*discarded by /OPT:REF"
  34. "LINK : warning LNK4089: all references to.*PSAPI.DLL.*discarded by /OPT:REF"
  35. "LINK : warning LNK4089: all references to.*SHELL32.dll.*discarded by /OPT:REF"
  36. "LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF"
  37. "Warning: library was too large for page size.*"
  38. "Warning: public.*_archive_.*in module.*archive_*clashes with prior module.*archive_.*"
  39. "Warning: public.*BZ2_bz.*in module.*bzlib.*clashes with prior module.*bzlib.*"
  40. "Warning: public.*_archive.*clashes with prior module.*"
  41. "Warning: LINN32: Last line.*is less.*"
  42. "Warning: Olimit was exceeded on function.*"
  43. "Warning: To override Olimit for all functions in file.*"
  44. "warning.*directory name.*CMake-Xcode.*/bin/.*does not exist.*"
  45. "stl_deque.h:1051"
  46. "(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
  47. "(Lexer|Parser).*warning.*(statement is unreachable|will never be executed)"
  48. "PGC-W-0095-Type cast required for this conversion.*ProcessUNIX.c"
  49. "[Qq]t([Cc]ore|[Gg]ui|[Ww]idgets).*warning.*conversion.*may alter its value"
  50. "warning:.*is.*very unsafe.*consider using.*"
  51. "warning:.*is.*misused, please use.*"
  52. "CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
  53. "cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
  54. "ld: warning: directory not found for option .-(F|L)"
  55. "warning.*This version of Mac OS X is unsupported"
  56. "clang.*: warning: argument unused during compilation: .-g"
  57. "note: in expansion of macro" # diagnostic context note
  58. "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*isn.*t random" # we do not do crypto
  59. "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*srand.*seed choices are.*poor" # we do not do crypto
  60. # Ignore clang's summary warning, assuming prior text has matched some
  61. # other warning expression:
  62. "[0-9,]+ warnings? generated."
  63. )
  64. if(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  65. set(CTEST_CUSTOM_COVERAGE_EXCLUDE
  66. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  67. "XCode"
  68. )
  69. endif ()
  70. if(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  71. set(CTEST_CUSTOM_COVERAGE_EXCLUDE
  72. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  73. "Kdevelop"
  74. )
  75. endif ()
  76. set(CTEST_CUSTOM_COVERAGE_EXCLUDE
  77. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  78. # Exclude kwsys files from coverage results. They are reported
  79. # (with better coverage results) on kwsys dashboards...
  80. "/Source/(cm|kw)sys/"
  81. # Exclude try_compile sources from coverage results:
  82. "/CMakeFiles/CMakeTmp/"
  83. # Exclude Qt source files from coverage results:
  84. "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
  85. )