CMake Nightly Date Stamp
[kiteware-cmake.git] / CTestCustom.cmake.in
blobae55715424ac28a42d7d38b46e7125b8c8bdad46
1 list(APPEND CTEST_CUSTOM_ERROR_MATCH
2   "ERROR:")
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"
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   "warning: variable .__d[01]. was set but never used" # FD_ZERO on NVHPC
11   "jobserver unavailable"
12   "warning: \\(Long double usage is reported only once for each file"
13   "warning: To disable this warning use"
14   "could not be inlined"
15   "libcm(curl|expat).*has no symbols"
16   "cm(curl|expat).build/[^ ]*.o has no symbols"
17   "not sorted slower link editing will result"
18   "stl_deque.h:479"
19   "Utilities.cmzlib."
20   "Utilities.cmzstd."
21   "Utilities.cmbzip2."
22   "Source.CTest.Curl"
23   "Source.CursesDialog.form"
24   "Utilities.cmcurl"
25   "Utilities.cmexpat."
26   "Utilities.cmlibarchive"
27   "warning: declaration of .single. shadows a global declaration"
28   "/usr/include.*(warning|note).*shadowed declaration is here"
29   "/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist"
30   "Redeclaration of .send..... with a different storage class specifier"
31   "is not used for resolving any symbol"
32   "Clock skew detected"
33   "remark\\(1209"
34   "remark: .*LOOP WAS VECTORIZED"
35   "warning .980: wrong number of actual arguments to intrinsic function .std::basic_"
36   "LINK : warning LNK4089: all references to.*ADVAPI32.dll.*discarded by /OPT:REF"
37   "LINK : warning LNK4089: all references to.*CRYPT32.dll.*discarded by /OPT:REF"
38   "LINK : warning LNK4089: all references to.*PSAPI.DLL.*discarded by /OPT:REF"
39   "LINK : warning LNK4089: all references to.*RPCRT4.dll.*discarded by /OPT:REF"
40   "LINK : warning LNK4089: all references to.*SHELL32.dll.*discarded by /OPT:REF"
41   "LINK : warning LNK4089: all references to.*USER32.dll.*discarded by /OPT:REF"
42   "LINK : warning LNK4089: all references to.*ole32.dll.*discarded by /OPT:REF"
43   "Warning.*: .*/Utilities/KWIML/test/test_int_format.h.* # Redundant preprocessing concatenation"
44   "Warning: library was too large for page size.*"
45   "Warning: public.*_archive_.*in module.*archive_*clashes with prior module.*archive_.*"
46   "Warning: public.*BZ2_bz.*in module.*bzlib.*clashes with prior module.*bzlib.*"
47   "Warning: public.*_archive.*clashes with prior module.*"
48   "Warning: LINN32: Last line.*is less.*"
49   "Warning: Olimit was exceeded on function.*"
50   "Warning: To override Olimit for all functions in file.*"
51   "Warning: Function .* can throw only the exceptions thrown by the function .* it overrides\\."
52   "WarningMessagesDialog\\.cxx"
53   "warning.*directory name.*CMake-Xcode.*/bin/.*does not exist.*"
54   "stl_deque.h:1051"
55   "Tests/CMakeLib/testCTestResourceSpec.cxx:.*warning: missing initializer for member.*cmCTestResourceSpec::.*" # GCC 4.8 disagrees with later compilers on C++11 initializer list conversion
56   "(Lexer|Parser).*warning.*conversion.*may (alter its value|change the sign)"
57   "(Lexer|Parser).*warning.*(statement is unreachable|will never be executed)"
58   "(Lexer|Parser).*warning.*variable.*was set but never used"
59   "LexerParser.*warning.*empty expression statement has no effect; remove unnecessary"
60   "PGC-W-0095-Type cast required for this conversion.*ProcessUNIX.c"
61   "[Qq]t([Cc]ore|[Gg]ui|[Ww]idgets).*warning.*conversion.*may alter its value"
62   "warning:.*is.*very unsafe.*consider using.*"
63   "warning:.*is.*misused, please use.*"
64   "cmake.version.manifest.*manifest authoring warning.*Unrecognized Element"
65   "cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
66   "ld: warning: directory not found for option .-(F|L)"
67   "ld: warning .*/libgcc.a archive's cputype"
68   "ld: warning: ignoring file .*/libgcc.a, file was built for archive which is not the architecture being linked"
69   "ld: warning: in .*/libgcc.a, file is not of required architecture"
70   "ld: warning: symbol .(deflate|inflate)_copyright. has differing sizes" # system libz and QtCore disagree
71   "warning.*This version of Mac OS X is unsupported"
72   "clang.*: warning: argument unused during compilation: .-g"
73   "note: in expansion of macro" # diagnostic context note
74   "note: expanded from macro" # diagnostic context note
75   "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*may return deterministic values"
76   "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*rand.*isn.*t random" # we do not do crypto
77   "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*srand.*seed choices are.*poor" # we do not do crypto
78   "cmFindPackageCommand.cxx.*: warning #177-D: parameter .* was declared but never referenced"
79   "IPA warning: function.*multiply defined in"
80   "LICENSE WARNING" # PGI license expiry.  Not useful in nightly testing.
82   # Ignore compiler summary warning, assuming prior text has matched some
83   # other warning expression:
84   "[0-9,]+ warnings? generated." # Clang
85   "compilation completed with warnings" # PGI
86   "[0-9]+ Warning\\(s\\) detected" # SunPro
88   # Ignore false positive on `cm::optional` usage from GCC
89   "cmFileCommand.cxx:[0-9]*:[0-9]*: warning: '\\*\\(\\(void\\*\\)& tls_verify \\+2\\)' may be used uninitialized in this function \\[-Wmaybe-uninitialized\\]"
90   "cmGlobalNinjaGenerator.cxx:[0-9]*:[0-9]*: warning: '.*cm::optional<CxxModuleMapFormat>::_mem\\)\\)' may be used uninitialized \\[-Wmaybe-uninitialized\\]"
91   "cmGlobalNinjaGenerator.cxx:[0-9]*:[0-9]*: note: '.*cm::optional<CxxModuleMapFormat>::_mem\\)\\)' was declared here"
92   "cmGlobalNinjaGenerator.cxx:[0-9]*:[0-9]*: warning: '\\*\\(\\(void\\*\\)& modmap_fmt \\+4\\)' may be used uninitialized in this function \\[-Wmaybe-uninitialized\\]"
94   # clang-analyzer exceptions
95   "cmListFileLexer.c:[0-9]+:[0-9]+: warning: Array subscript is undefined"
96   "jsoncpp/src/.*:[0-9]+:[0-9]+: warning: Value stored to .* is never read"
97   "liblzma/common/index_encoder.c:[0-9]+:[0-9]+: warning: Value stored to '[^']+' during its initialization is never read"
98   "liblzma/liblzma/common/index.c:[0-9]+:[0-9]+: warning: Access to field '[^']+' results in a dereference of a null pointer"
99   "liblzma/simple/x86.c:[0-9]+:[0-9]+: warning: The result of the '<<' expression is undefined"
100   "librhash/librhash/.*:[0-9]+:[0-9]+: warning: The left operand of '[^']+' is a garbage value"
101   "libuv/src/.*:[0-9]+:[0-9]+: warning: 1st function call argument is an uninitialized value"
102   "libuv/src/.*:[0-9]+:[0-9]+: warning: Dereference of null pointer"
103   "libuv/src/.*:[0-9]+:[0-9]+: warning: The left operand of '[^']+' is a garbage value"
104   "nghttp2/lib/.*:[0-9]+:[0-9]+: warning: Access to field '[^']+' results in a dereference of a null pointer"
105   "nghttp2/lib/.*:[0-9]+:[0-9]+: warning: Dereference of null pointer"
106   "nghttp2/lib/.*:[0-9]+:[0-9]+: warning: Value stored to '[^']+' is never read"
107   "zstd/lib/.*:[0-9]+:[0-9]+: warning: Assigned value is garbage or undefined"
108   "zstd/lib/.*:[0-9]+:[0-9]+: warning: Dereference of null pointer"
109   "zstd/lib/.*:[0-9]+:[0-9]+: warning: The right operand of .* is a garbage value due to array index out of bounds"
110   )
112 if(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
113   list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
114     "XCode"
115     )
116 endif ()
118 list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
119   # Exclude kwsys files from coverage results. They are reported
120   # (with better coverage results) on kwsys dashboards...
121   "/Source/(cm|kw)sys/"
123   # Exclude try_compile sources from coverage results:
124   "/CMakeFiles/CMakeTmp/"
126   # Exclude Qt source files from coverage results:
127   "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
128   )
130 list(APPEND CTEST_CUSTOM_MEMCHECK_IGNORE
131   kwsys.testProcess-10 # See Source/kwsys/CTestCustom.cmake.in
132   )