CTestCustom.cmake.in 3.3 KB

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