2012-08-13 21:47:32 +04:00
|
|
|
set(CTEST_CUSTOM_ERROR_MATCH
|
2012-02-16 00:29:24 +04:00
|
|
|
${CTEST_CUSTOM_ERROR_MATCH}
|
|
|
|
"ERROR:")
|
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CTEST_CUSTOM_WARNING_EXCEPTION
|
2007-08-31 22:51:09 +04:00
|
|
|
${CTEST_CUSTOM_WARNING_EXCEPTION}
|
|
|
|
"xtree.[0-9]+. : warning C4702: unreachable code"
|
|
|
|
"warning LNK4221"
|
2009-01-06 23:05:01 +03:00
|
|
|
"warning LNK4204" # Occurs by race condition with objects in small libs
|
2007-08-31 22: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-14 06:47:26 +03:00
|
|
|
"Utilities.cmbzip2."
|
2007-08-31 22:51:09 +04:00
|
|
|
"Source.CTest.Curl"
|
2009-07-10 17:53:50 +04:00
|
|
|
"Source.CursesDialog.form"
|
2007-08-31 22:51:09 +04:00
|
|
|
"Utilities.cmcurl"
|
2009-07-10 17:53:50 +04:00
|
|
|
"Utilities.cmexpat."
|
2009-11-13 16:46:56 +03:00
|
|
|
"Utilities.cmlibarchive"
|
2009-07-10 17:53:50 +04:00
|
|
|
"/usr/include.*warning.*shadowed declaration is here"
|
2007-08-31 22: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 19:29:28 +03:00
|
|
|
"remark: .*LOOP WAS VECTORIZED"
|
2010-12-31 16:38:14 +03:00
|
|
|
"warning .980: wrong number of actual arguments to intrinsic function .std::basic_"
|
2010-04-06 19:32:43 +04:00
|
|
|
"LINK : warning LNK4089: all references to.*ADVAPI32.dll.*discarded by /OPT:REF"
|
2012-11-04 03:25:01 +04:00
|
|
|
"LINK : warning LNK4089: all references to.*PSAPI.DLL.*discarded by /OPT:REF"
|
2013-12-23 19:23:27 +04:00
|
|
|
"LINK : warning LNK4089: all references to.*SHELL32.dll.*discarded by /OPT:REF"
|
2010-04-06 19:32:43 +04:00
|
|
|
"LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF"
|
2010-04-26 17: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-28 01:43:38 +04:00
|
|
|
"Warning: public.*_archive.*clashes with prior module.*"
|
2010-04-26 17:20:52 +04:00
|
|
|
"Warning: LINN32: Last line.*is less.*"
|
2014-03-06 22:04:16 +04:00
|
|
|
"Warning: Olimit was exceeded on function.*"
|
|
|
|
"Warning: To override Olimit for all functions in file.*"
|
2010-05-13 19:24:34 +04:00
|
|
|
"warning.*directory name.*CMake-Xcode.*/bin/.*does not exist.*"
|
2007-08-31 22:51:09 +04:00
|
|
|
"stl_deque.h:1051"
|
2009-09-30 19:41:34 +04:00
|
|
|
"(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
|
2012-03-08 00:06:42 +04:00
|
|
|
"(Lexer|Parser).*warning.*statement is unreachable"
|
|
|
|
"PGC-W-0095-Type cast required for this conversion.*ProcessUNIX.c"
|
2009-10-02 00:47:08 +04:00
|
|
|
"[Qq]t([Cc]ore|[Gg]ui).*warning.*conversion.*may alter its value"
|
2010-05-15 00:28:22 +04:00
|
|
|
"warning:.*is.*very unsafe.*consider using.*"
|
|
|
|
"warning:.*is.*misused, please use.*"
|
2007-09-11 23:21:37 +04:00
|
|
|
"CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
|
2010-06-09 17:22:47 +04:00
|
|
|
"cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
|
2011-08-23 21:33:24 +04:00
|
|
|
"ld: warning: directory not found for option .-(F|L)"
|
2011-09-02 22:20:02 +04:00
|
|
|
"warning.*This version of Mac OS X is unsupported"
|
2012-02-17 01:03:27 +04:00
|
|
|
"clang.*: warning: argument unused during compilation: .-g"
|
2011-09-29 23:44:03 +04:00
|
|
|
|
|
|
|
# Ignore clang's summary warning, assuming prior text has matched some
|
|
|
|
# other warning expression:
|
|
|
|
"[0-9,]+ warnings? generated."
|
2007-08-31 22:51:09 +04:00
|
|
|
)
|
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
if(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
|
|
|
|
set(CTEST_CUSTOM_COVERAGE_EXCLUDE
|
2007-08-31 22:51:09 +04:00
|
|
|
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
|
|
|
|
"XCode"
|
|
|
|
)
|
2012-08-13 21:50:14 +04:00
|
|
|
endif ()
|
2007-08-31 22:51:09 +04:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
if(NOT "@CMAKE_GENERATOR@" MATCHES "KDevelop")
|
|
|
|
set(CTEST_CUSTOM_COVERAGE_EXCLUDE
|
2007-08-31 22:51:09 +04:00
|
|
|
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
|
|
|
|
"Kdevelop"
|
|
|
|
)
|
2012-08-13 21:50:14 +04:00
|
|
|
endif ()
|
2008-02-25 18:17:17 +03:00
|
|
|
|
2012-08-13 21:47:32 +04:00
|
|
|
set(CTEST_CUSTOM_COVERAGE_EXCLUDE
|
2008-02-25 18:17:17 +03:00
|
|
|
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
|
|
|
|
|
|
|
|
# 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 21:11:03 +04:00
|
|
|
|
|
|
|
# Exclude Qt source files from coverage results:
|
|
|
|
"[A-Za-z]./[Qq]t/qt-.+-opensource-src"
|
2008-02-25 18:17:17 +03:00
|
|
|
)
|