2015-09-17 10:52:17 -04:00
|
|
|
list(APPEND CTEST_CUSTOM_ERROR_MATCH
|
2012-02-15 15:29:24 -05:00
|
|
|
"ERROR:")
|
|
|
|
|
2015-09-17 10:52:17 -04:00
|
|
|
list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
|
2018-08-29 16:11:02 -04:00
|
|
|
"warning: cast from 'char\\*' to 'cmCursesWidget\\*' increases required alignment of target type" # Occurs when using Solaris's system libform
|
2007-08-31 14:51:09 -04:00
|
|
|
"xtree.[0-9]+. : warning C4702: unreachable code"
|
|
|
|
"warning LNK4221"
|
2009-01-06 15:05:01 -05:00
|
|
|
"warning LNK4204" # Occurs by race condition with objects in small libs
|
2007-08-31 14:51:09 -04:00
|
|
|
"variable .var_args[2]*. is used before its value is set"
|
|
|
|
"jobserver unavailable"
|
|
|
|
"warning: \\(Long double usage is reported only once for each file"
|
|
|
|
"warning: To disable this warning use"
|
|
|
|
"could not be inlined"
|
|
|
|
"libcmcurl.*has no symbols"
|
|
|
|
"not sorted slower link editing will result"
|
|
|
|
"stl_deque.h:479"
|
|
|
|
"Utilities.cmzlib."
|
2009-11-13 22:47:26 -05:00
|
|
|
"Utilities.cmbzip2."
|
2007-08-31 14:51:09 -04:00
|
|
|
"Source.CTest.Curl"
|
2009-07-10 09:53:50 -04:00
|
|
|
"Source.CursesDialog.form"
|
2007-08-31 14:51:09 -04:00
|
|
|
"Utilities.cmcurl"
|
2009-07-10 09:53:50 -04:00
|
|
|
"Utilities.cmexpat."
|
2009-11-13 08:46:56 -05:00
|
|
|
"Utilities.cmlibarchive"
|
2015-12-21 09:48:35 -05:00
|
|
|
"warning: declaration of .single. shadows a global declaration"
|
|
|
|
"/usr/include.*(warning|note).*shadowed declaration is here"
|
2007-08-31 14:51:09 -04:00
|
|
|
"/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist"
|
|
|
|
"Redeclaration of .send..... with a different storage class specifier"
|
|
|
|
"is not used for resolving any symbol"
|
|
|
|
"Clock skew detected"
|
|
|
|
"remark\\(1209"
|
2010-11-08 11:29:28 -05:00
|
|
|
"remark: .*LOOP WAS VECTORIZED"
|
2010-12-31 08:38:14 -05:00
|
|
|
"warning .980: wrong number of actual arguments to intrinsic function .std::basic_"
|
2010-04-06 11:32:43 -04:00
|
|
|
"LINK : warning LNK4089: all references to.*ADVAPI32.dll.*discarded by /OPT:REF"
|
2015-08-21 14:15:38 -07:00
|
|
|
"LINK : warning LNK4089: all references to.*CRYPT32.dll.*discarded by /OPT:REF"
|
2012-11-03 19:25:01 -04:00
|
|
|
"LINK : warning LNK4089: all references to.*PSAPI.DLL.*discarded by /OPT:REF"
|
2015-05-08 08:50:33 -04:00
|
|
|
"LINK : warning LNK4089: all references to.*RPCRT4.dll.*discarded by /OPT:REF"
|
2013-12-23 10:23:27 -05:00
|
|
|
"LINK : warning LNK4089: all references to.*SHELL32.dll.*discarded by /OPT:REF"
|
2010-04-06 11:32:43 -04:00
|
|
|
"LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF"
|
2015-05-07 08:58:38 -04:00
|
|
|
"LINK : warning LNK4089: all references to.*ole32.dll.*discarded by /OPT:REF"
|
2015-12-17 15:03:42 -05:00
|
|
|
"Warning.*: .*/Utilities/KWIML/test/test_int_format.h.* # Redundant preprocessing concatenation"
|
2010-04-26 09:20:52 -04:00
|
|
|
"Warning: library was too large for page size.*"
|
|
|
|
"Warning: public.*_archive_.*in module.*archive_*clashes with prior module.*archive_.*"
|
|
|
|
"Warning: public.*BZ2_bz.*in module.*bzlib.*clashes with prior module.*bzlib.*"
|
2010-04-27 17:43:38 -04:00
|
|
|
"Warning: public.*_archive.*clashes with prior module.*"
|
2010-04-26 09:20:52 -04:00
|
|
|
"Warning: LINN32: Last line.*is less.*"
|
2014-03-06 13:04:16 -05:00
|
|
|
"Warning: Olimit was exceeded on function.*"
|
|
|
|
"Warning: To override Olimit for all functions in file.*"
|
2017-08-26 20:38:07 +02:00
|
|
|
"Warning: Function .* can throw only the exceptions thrown by the function .* it overrides\\."
|
2017-06-07 10:46:20 -04:00
|
|
|
"WarningMessagesDialog\\.cxx"
|
2010-05-13 11:24:34 -04:00
|
|
|
"warning.*directory name.*CMake-Xcode.*/bin/.*does not exist.*"
|
2007-08-31 14:51:09 -04:00
|
|
|
"stl_deque.h:1051"
|
2009-09-30 11:41:34 -04:00
|
|
|
"(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
|
2014-04-01 08:58:23 -04:00
|
|
|
"(Lexer|Parser).*warning.*(statement is unreachable|will never be executed)"
|
2016-09-26 14:50:02 -04:00
|
|
|
"(Lexer|Parser).*warning.*variable.*was set but never used"
|
2019-01-11 16:58:56 -05:00
|
|
|
"LexerParser.*warning.*empty expression statement has no effect; remove unnecessary"
|
2012-03-07 15:06:42 -05:00
|
|
|
"PGC-W-0095-Type cast required for this conversion.*ProcessUNIX.c"
|
2014-04-02 11:39:47 -04:00
|
|
|
"[Qq]t([Cc]ore|[Gg]ui|[Ww]idgets).*warning.*conversion.*may alter its value"
|
2010-05-14 16:28:22 -04:00
|
|
|
"warning:.*is.*very unsafe.*consider using.*"
|
|
|
|
"warning:.*is.*misused, please use.*"
|
2016-05-27 09:17:23 -04:00
|
|
|
"cmake.version.manifest.*manifest authoring warning.*Unrecognized Element"
|
2010-06-09 09:22:47 -04:00
|
|
|
"cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
|
2011-08-23 13:33:24 -04:00
|
|
|
"ld: warning: directory not found for option .-(F|L)"
|
2015-04-10 08:11:21 -04:00
|
|
|
"ld: warning .*/libgcc.a archive's cputype"
|
2015-04-09 07:47:36 -04:00
|
|
|
"ld: warning: ignoring file .*/libgcc.a, file was built for archive which is not the architecture being linked"
|
2015-03-31 16:25:37 -04:00
|
|
|
"ld: warning: in .*/libgcc.a, file is not of required architecture"
|
2011-09-02 14:20:02 -04:00
|
|
|
"warning.*This version of Mac OS X is unsupported"
|
2012-02-16 16:03:27 -05:00
|
|
|
"clang.*: warning: argument unused during compilation: .-g"
|
2014-03-26 14:00:16 -04:00
|
|
|
"note: in expansion of macro" # diagnostic context note
|
2016-09-01 11:14:19 -04:00
|
|
|
"note: expanded from macro" # diagnostic context note
|
2016-05-27 09:18:49 -04:00
|
|
|
"cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*may return deterministic values"
|
2014-04-12 23:58:19 +02:00
|
|
|
"cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*isn.*t random" # we do not do crypto
|
|
|
|
"cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*srand.*seed choices are.*poor" # we do not do crypto
|
2016-09-28 16:00:17 -04:00
|
|
|
"IPA warning: function.*multiply defined in"
|
2011-09-29 15:44:03 -04:00
|
|
|
|
2017-08-28 10:17:22 -04:00
|
|
|
# Ignore compiler summary warning, assuming prior text has matched some
|
2011-09-29 15:44:03 -04:00
|
|
|
# other warning expression:
|
2017-08-28 10:17:22 -04:00
|
|
|
"[0-9,]+ warnings? generated." # Clang
|
|
|
|
"compilation completed with warnings" # PGI
|
2017-08-28 10:17:43 -04:00
|
|
|
"[0-9]+ Warning\\(s\\) detected" # SunPro
|
2015-03-30 16:08:54 -04:00
|
|
|
|
|
|
|
# scanbuild exceptions
|
|
|
|
"char_traits.h:.*: warning: Null pointer argument in call to string length function"
|
|
|
|
"stl_construct.h:.*: warning: Forming reference to null pointer"
|
|
|
|
".*stl_uninitialized.h:75:19: warning: Forming reference to null pointer.*"
|
|
|
|
".*stl_vector.h:.*: warning: Returning null reference.*"
|
|
|
|
"warning: Value stored to 'yymsg' is never read"
|
|
|
|
"warning: Value stored to 'yytoken' is never read"
|
|
|
|
"index_encoder.c.241.2. warning: Value stored to .out_start. is never read"
|
|
|
|
"index.c.*warning: Access to field.*results in a dereference of a null pointer.*loaded from variable.*"
|
2016-11-26 22:47:00 +01:00
|
|
|
"cmCommandArgumentLexer.cxx:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
|
|
|
|
"cmDependsJavaLexer.cxx:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
|
|
|
|
"cmExprLexer.cxx:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
|
|
|
|
"cmListFileLexer.c:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
|
2016-09-08 09:43:33 -04:00
|
|
|
"cmFortranLexer.cxx:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
|
2015-03-30 16:08:54 -04:00
|
|
|
"testProcess.*warning: Dereference of null pointer .loaded from variable .invalidAddress.."
|
2016-05-27 09:21:44 -04:00
|
|
|
"liblzma/simple/x86.c:[0-9]+:[0-9]+: warning: The result of the '<<' expression is undefined"
|
2018-08-07 07:56:35 -04:00
|
|
|
"liblzma/common/index_encoder.c:[0-9]+:[0-9]+: warning: Value stored to .* during its initialization is never read"
|
2016-09-01 11:14:19 -04:00
|
|
|
"libuv/src/.*:[0-9]+:[0-9]+: warning: Dereference of null pointer"
|
|
|
|
"libuv/src/.*:[0-9]+:[0-9]+: warning: The left operand of '==' is a garbage value"
|
2007-08-31 14:51:09 -04:00
|
|
|
)
|
|
|
|
|
2012-08-13 13:47:32 -04:00
|
|
|
if(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
|
2015-09-17 10:52:17 -04:00
|
|
|
list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
|
2007-08-31 14:51:09 -04:00
|
|
|
"XCode"
|
|
|
|
)
|
2012-08-13 13:50:14 -04:00
|
|
|
endif ()
|
2007-08-31 14:51:09 -04:00
|
|
|
|
2015-09-17 10:52:17 -04:00
|
|
|
list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
|
2008-02-25 10:17:17 -05:00
|
|
|
# Exclude kwsys files from coverage results. They are reported
|
|
|
|
# (with better coverage results) on kwsys dashboards...
|
|
|
|
"/Source/(cm|kw)sys/"
|
|
|
|
|
|
|
|
# Exclude try_compile sources from coverage results:
|
|
|
|
"/CMakeFiles/CMakeTmp/"
|
2009-10-24 13:11:03 -04:00
|
|
|
|
|
|
|
# Exclude Qt source files from coverage results:
|
|
|
|
"[A-Za-z]./[Qq]t/qt-.+-opensource-src"
|
2008-02-25 10:17:17 -05:00
|
|
|
)
|
2015-07-23 09:22:25 -04:00
|
|
|
|
|
|
|
list(APPEND CTEST_CUSTOM_MEMCHECK_IGNORE
|
|
|
|
kwsys.testProcess-10 # See Source/kwsys/CTestCustom.cmake.in
|
|
|
|
)
|