CTestCustom.cmake.in 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. list(APPEND CTEST_CUSTOM_ERROR_MATCH
  2. "ERROR:")
  3. list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
  4. "xtree.[0-9]+. : warning C4702: unreachable code"
  5. "warning LNK4221"
  6. "warning LNK4204" # Occurs by race condition with objects in small libs
  7. "variable .var_args[2]*. is used before its value is set"
  8. "jobserver unavailable"
  9. "warning: \\(Long double usage is reported only once for each file"
  10. "warning: To disable this warning use"
  11. "could not be inlined"
  12. "libcmcurl.*has no symbols"
  13. "not sorted slower link editing will result"
  14. "stl_deque.h:479"
  15. "Utilities.cmzlib."
  16. "Utilities.cmbzip2."
  17. "Source.CTest.Curl"
  18. "Source.CursesDialog.form"
  19. "Source.cm_sha2.*warning.*cast increases required alignment of target type"
  20. "Utilities.cmcurl"
  21. "Utilities.cmexpat."
  22. "Utilities.cmlibarchive"
  23. "warning: declaration of .single. shadows a global declaration"
  24. "/usr/include.*(warning|note).*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.*CRYPT32.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.*RPCRT4.dll.*discarded by /OPT:REF"
  36. "LINK : warning LNK4089: all references to.*SHELL32.dll.*discarded by /OPT:REF"
  37. "LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF"
  38. "LINK : warning LNK4089: all references to.*ole32.dll.*discarded by /OPT:REF"
  39. "Warning.*: .*/Utilities/KWIML/test/test_int_format.h.* # Redundant preprocessing concatenation"
  40. "Warning: library was too large for page size.*"
  41. "Warning: public.*_archive_.*in module.*archive_*clashes with prior module.*archive_.*"
  42. "Warning: public.*BZ2_bz.*in module.*bzlib.*clashes with prior module.*bzlib.*"
  43. "Warning: public.*_archive.*clashes with prior module.*"
  44. "Warning: LINN32: Last line.*is less.*"
  45. "Warning: Olimit was exceeded on function.*"
  46. "Warning: To override Olimit for all functions in file.*"
  47. "warning.*directory name.*CMake-Xcode.*/bin/.*does not exist.*"
  48. "stl_deque.h:1051"
  49. "(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
  50. "(Lexer|Parser).*warning.*(statement is unreachable|will never be executed)"
  51. "PGC-W-0095-Type cast required for this conversion.*ProcessUNIX.c"
  52. "[Qq]t([Cc]ore|[Gg]ui|[Ww]idgets).*warning.*conversion.*may alter its value"
  53. "warning:.*is.*very unsafe.*consider using.*"
  54. "warning:.*is.*misused, please use.*"
  55. "cmake.version.manifest.*manifest authoring warning.*Unrecognized Element"
  56. "cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
  57. "ld: warning: directory not found for option .-(F|L)"
  58. "ld: warning .*/libgcc.a archive's cputype"
  59. "ld: warning: ignoring file .*/libgcc.a, file was built for archive which is not the architecture being linked"
  60. "ld: warning: in .*/libgcc.a, file is not of required architecture"
  61. "warning.*This version of Mac OS X is unsupported"
  62. "clang.*: warning: argument unused during compilation: .-g"
  63. "note: in expansion of macro" # diagnostic context note
  64. "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*may return deterministic values"
  65. "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*isn.*t random" # we do not do crypto
  66. "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*srand.*seed choices are.*poor" # we do not do crypto
  67. # Ignore clang's summary warning, assuming prior text has matched some
  68. # other warning expression:
  69. "[0-9,]+ warnings? generated."
  70. # scanbuild exceptions
  71. "char_traits.h:.*: warning: Null pointer argument in call to string length function"
  72. "stl_construct.h:.*: warning: Forming reference to null pointer"
  73. ".*stl_uninitialized.h:75:19: warning: Forming reference to null pointer.*"
  74. ".*stl_vector.h:.*: warning: Returning null reference.*"
  75. "warning: Value stored to 'yymsg' is never read"
  76. "warning: Value stored to 'yytoken' is never read"
  77. "index_encoder.c.241.2. warning: Value stored to .out_start. is never read"
  78. "index.c.*warning: Access to field.*results in a dereference of a null pointer.*loaded from variable.*"
  79. "cm_sha2.*warning: Value stored to.*is never read"
  80. "testProcess.*warning: Dereference of null pointer .loaded from variable .invalidAddress.."
  81. "liblzma/simple/x86.c:[0-9]+:[0-9]+: warning: The result of the '<<' expression is undefined"
  82. )
  83. if(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
  84. list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
  85. "XCode"
  86. )
  87. endif ()
  88. if(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
  89. list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
  90. "Kdevelop"
  91. )
  92. endif ()
  93. list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
  94. # Exclude kwsys files from coverage results. They are reported
  95. # (with better coverage results) on kwsys dashboards...
  96. "/Source/(cm|kw)sys/"
  97. # Exclude try_compile sources from coverage results:
  98. "/CMakeFiles/CMakeTmp/"
  99. # Exclude Qt source files from coverage results:
  100. "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
  101. )
  102. list(APPEND CTEST_CUSTOM_MEMCHECK_IGNORE
  103. kwsys.testProcess-10 # See Source/kwsys/CTestCustom.cmake.in
  104. )