1 list(APPEND CTEST_CUSTOM_ERROR_MATCH
4 list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
5 "warning: cast from 'char\\*' to 'cmCursesWidget\\*' increases required alignment of target type" # Occurs when using Solaris's system libform
6 "xtree.[0-9]+. : warning C4702: unreachable code"
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"
20 "Source.CursesDialog.form"
23 "Utilities.cmlibarchive"
24 "warning: declaration of .single. shadows a global declaration"
25 "/usr/include.*(warning|note).*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"
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.*CRYPT32.dll.*discarded by /OPT:REF"
35 "LINK : warning LNK4089: all references to.*PSAPI.DLL.*discarded by /OPT:REF"
36 "LINK : warning LNK4089: all references to.*RPCRT4.dll.*discarded by /OPT:REF"
37 "LINK : warning LNK4089: all references to.*SHELL32.dll.*discarded by /OPT:REF"
38 "LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF"
39 "LINK : warning LNK4089: all references to.*ole32.dll.*discarded by /OPT:REF"
40 "Warning.*: .*/Utilities/KWIML/test/test_int_format.h.* # Redundant preprocessing concatenation"
41 "Warning: library was too large for page size.*"
42 "Warning: public.*_archive_.*in module.*archive_*clashes with prior module.*archive_.*"
43 "Warning: public.*BZ2_bz.*in module.*bzlib.*clashes with prior module.*bzlib.*"
44 "Warning: public.*_archive.*clashes with prior module.*"
45 "Warning: LINN32: Last line.*is less.*"
46 "Warning: Olimit was exceeded on function.*"
47 "Warning: To override Olimit for all functions in file.*"
48 "Warning: Function .* can throw only the exceptions thrown by the function .* it overrides\\."
49 "WarningMessagesDialog\\.cxx"
50 "warning.*directory name.*CMake-Xcode.*/bin/.*does not exist.*"
52 "(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
53 "(Lexer|Parser).*warning.*(statement is unreachable|will never be executed)"
54 "(Lexer|Parser).*warning.*variable.*was set but never used"
55 "LexerParser.*warning.*empty expression statement has no effect; remove unnecessary"
56 "PGC-W-0095-Type cast required for this conversion.*ProcessUNIX.c"
57 "[Qq]t([Cc]ore|[Gg]ui|[Ww]idgets).*warning.*conversion.*may alter its value"
58 "warning:.*is.*very unsafe.*consider using.*"
59 "warning:.*is.*misused, please use.*"
60 "cmake.version.manifest.*manifest authoring warning.*Unrecognized Element"
61 "cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
62 "ld: warning: directory not found for option .-(F|L)"
63 "ld: warning .*/libgcc.a archive's cputype"
64 "ld: warning: ignoring file .*/libgcc.a, file was built for archive which is not the architecture being linked"
65 "ld: warning: in .*/libgcc.a, file is not of required architecture"
66 "warning.*This version of Mac OS X is unsupported"
67 "clang.*: warning: argument unused during compilation: .-g"
68 "note: in expansion of macro" # diagnostic context note
69 "note: expanded from macro" # diagnostic context note
70 "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*may return deterministic values"
71 "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*isn.*t random" # we do not do crypto
72 "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*srand.*seed choices are.*poor" # we do not do crypto
73 "IPA warning: function.*multiply defined in"
75 # Ignore compiler summary warning, assuming prior text has matched some
76 # other warning expression:
77 "[0-9,]+ warnings? generated." # Clang
78 "compilation completed with warnings" # PGI
79 "[0-9]+ Warning\\(s\\) detected" # SunPro
81 # scanbuild exceptions
82 "char_traits.h:.*: warning: Null pointer argument in call to string length function"
83 "stl_construct.h:.*: warning: Forming reference to null pointer"
84 ".*stl_uninitialized.h:75:19: warning: Forming reference to null pointer.*"
85 ".*stl_vector.h:.*: warning: Returning null reference.*"
86 "warning: Value stored to 'yymsg' is never read"
87 "warning: Value stored to 'yytoken' is never read"
88 "index_encoder.c.241.2. warning: Value stored to .out_start. is never read"
89 "index.c.*warning: Access to field.*results in a dereference of a null pointer.*loaded from variable.*"
90 "cmCommandArgumentLexer.cxx:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
91 "cmDependsJavaLexer.cxx:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
92 "cmExprLexer.cxx:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
93 "cmListFileLexer.c:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
94 "cmFortranLexer.cxx:[0-9]+:[0-9]+: warning: Call to 'realloc' has an allocation size of 0 bytes"
95 "testProcess.*warning: Dereference of null pointer .loaded from variable .invalidAddress.."
96 "liblzma/simple/x86.c:[0-9]+:[0-9]+: warning: The result of the '<<' expression is undefined"
97 "liblzma/common/index_encoder.c:[0-9]+:[0-9]+: warning: Value stored to .* during its initialization is never read"
98 "libuv/src/.*:[0-9]+:[0-9]+: warning: Dereference of null pointer"
99 "libuv/src/.*:[0-9]+:[0-9]+: warning: The left operand of '==' is a garbage value"
102 if(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
103 list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
108 list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
109 # Exclude kwsys files from coverage results. They are reported
110 # (with better coverage results) on kwsys dashboards...
111 "/Source/(cm|kw)sys/"
113 # Exclude try_compile sources from coverage results:
114 "/CMakeFiles/CMakeTmp/"
116 # Exclude Qt source files from coverage results:
117 "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
120 list(APPEND CTEST_CUSTOM_MEMCHECK_IGNORE
121 kwsys.testProcess-10 # See Source/kwsys/CTestCustom.cmake.in