Commit Graph

64 Commits

Author SHA1 Message Date
Brad King c03a7b4f51 CTestCustom: Suppress scan-build warnings in libuv
Clang scan-build warns in some expansions of RB_GENERATE_STATIC
that it has a "Dereference of null pointer".  It also warns that
"The left operand of '==' is a garbage value" strangely.  Simply
suppress these since this is third-party code anyway.
2016-09-03 07:56:13 -04:00
Brad King d4e58dd979 CTestCustom: Suppress scanbuild warning on unsigned left shift
The Clang scanbuild tool warns:

    Utilities/cmliblzma/liblzma/simple/x86.c:106:23: warning:
    The result of the '<<' expression is undefined
      src = dest ^ ((1u << (32 - i * 8)) - 1);
                     ~~~^~~~~~~~~~~~~~~

AFAIK overflow of a left shift on an unsigned type is well-defined.
2016-05-27 09:25:37 -04:00
Brad King 154fa2c544 CTestCustom: Suppress warnings about rand() on OpenBSD
We first suppressed this in commit v3.1.0-rc1~647^2 (CTestCustom:
Suppress warnings about rand() and srand() on OpenBSD, 2014-04-12).
Add another variant of the warning wording.
2016-05-27 09:25:37 -04:00
Brad King e4a361bbbf CTestCustom: Suppress Windows manifest unrecognized element warning
Our `cmake.version.manifest` file uses a "compatibility" element for
Windows 10 support.  Older MS tools warn about it being unknown, so
suppress the warning.
2016-05-27 09:25:37 -04:00
Brad King b947fc27d5 CTestCustom: Suppress -Wshadow warning about Solaris 'single' typedef
On Solaris the system `/usr/include/floatingpoint.h` header contains

 typedef float single;

so the GNU compiler warns that uses of the name `single` shadow it.
Just suppress the warning because our uses of this name would become
less readable with a different name.
2016-01-07 13:44:46 -05:00
Brad King 036b6ef7c4 Port CMake from cmIML to KWIML
KWIML no longer uses a configured prefix.
2015-12-18 10:02:07 -05:00
Ben Boeckel 71c67e83bf CTEST_CUSTOM_*: treat variables as lists 2015-09-21 09:27:54 -04:00
Gilles Khouzam ac0bb4333d VS: Windows Store/Phone package cert thumbprint
Add the PackageCertificateThumbprint property when there is a
certificate on a WindowsStore or Phone app.
2015-08-27 13:35:18 -04:00
Brad King 129640f279 CTestCustom: Ignore kwsys.testProcess-10 for MemCheck as KWSys does
The test covers exceptional behavior that leaks memory, so ignore it for
dynamic analysis runs.
2015-07-31 09:27:01 -04:00
Brad King 639620eec4 CTestCustom: Suppress HP-UX preprocessor concatenation warning
The HP compiler on HP-UX 11.11 warns:

 Warning (anachronism) 823: ".../test_INT_format.h", line 194 # Redundant
 preprocessing concatenation operation results in two valid preprocessing
 tokens. Depending on this implementation defined behavior will result in
 non-portable code.
       TEST_C(INT32_C, -0x55000000, i32, int32_t, uint32_t)
       ^^^^^^
 Warning (anachronism) 823: ".../test_INT_format.h", line 196 # Redundant
 preprocessing concatenation operation results in two valid preprocessing
 tokens. Depending on this implementation defined behavior will result in
 non-portable code.
       TEST_C(INT64_C, -0x5500000000000000, i64, int64_t, uint64_t)
       ^^^^^^

There is likely a subtle problem with the way one of the system-provided type
macros is defined but the test passes despite the warning.  Simply suppress it.
2015-05-18 09:25:51 -04:00
Brad King a190493414 CTestCustom: Suppress LNK4089 warning about RPCRT4 2015-05-08 08:50:33 -04:00
Brad King e228d66d60 CTestCustom: Suppress LNK4089 warning about ole32 2015-05-07 09:37:34 -04:00
Brad King 1f3bb59b69 CTestCustom: Suppress more OS X universal binary link arch warnings 2015-04-10 08:11:21 -04:00
Brad King fd5cbbe000 CTestCustom: Suppress more OS X universal binary link arch warnings 2015-04-09 07:47:36 -04:00
Brad King 3113d86df4 CTestCustom: Suppress OS X universal binary link arch warnings 2015-03-31 16:25:37 -04:00
Bill Hoffman d9420364a2 Move scanbuild exceptions out of dashboard script and into cmake. 2015-03-30 16:08:54 -04:00
Brad King 18e480a5e9 Merge topic 'openbsd-warnings'
f9f91fa8 CTestCustom: Suppress warnings about rand() and srand() on OpenBSD
2014-04-15 10:22:20 -04:00
Rolf Eike Beer f9f91fa8b9 CTestCustom: Suppress warnings about rand() and srand() on OpenBSD
We don't do crypto here, so a "poor" random doesn't matter. In fact we have API
to allow people to get a repeatable sequence by setting a specific seed.
2014-04-15 10:13:43 -04:00
Brad King a553dc0a09 CTestCustom: Suppress -Wcast-align warnings in sha2 code
This is third party code and we know that at run time the correct
alignment is achieved.
2014-04-11 10:39:58 -04:00
Brad King 2ea57eb007 Merge topic 'suppress-conversion-warnings-in-QtWidgets'
391c73db CTestCustom: Suppress conversion warnings in QtWidgets headers
2014-04-03 12:51:48 -04:00
Brad King 391c73dbbf CTestCustom: Suppress conversion warnings in QtWidgets headers
We already do so for QtCore and QtGui headers.
2014-04-02 11:40:16 -04:00
Brad King 065166cf76 CTestCustom: Suppress Clang "will never be executed" warnings in lexers
Clang -Wunreachable-code-return warns on some generated lexer code.
2014-04-01 08:58:23 -04:00
Brad King 536747552f CTestCustom: Suppress "note: in expansion of macro" diagnostic context
Such notes only appear with other diagnostics and should not be
considered a warning on their own.
2014-03-26 14:00:16 -04:00
Brad King 87d6606605 CTestCustom: Suppress MIPSpro warnings about Olimit
Since we compile command implementations in large batches the
translation units get too big for MIPSpro optimization limits.
Suppress the warnings it produces:

 Warning: Olimit was exceeded on function ...
 Warning: To override Olimit for all functions in file, use -OPT:Olimit=3201
2014-03-06 13:06:13 -05:00
Brad King 0fd172c8d0 CTestCustom: Suppress LNK4089 warning about SHELL32
Add a warning suppression regex to match:

 LINK : warning LNK4089: all references to 'SHELL32.DLL' discarded by /OPT:REF
2014-01-02 14:08:05 -05:00
Brad King 56a687d173 Merge topic 'import-KWSys-subtree'
68579cd Merge branch 'upstream-kwsys' into import-KWSys-subtree
cd83da9 KWSys 2012-11-05 (df32fa6f)
3517106 CTestCustom: Suppress LNK4089 warning about PSAPI
5c63fa3 Merge branch 'ctest-SUBMIT_INDEX-cdash' into import-KWSys-subtree
17fb60b Merge branch 'upstream-kwsys' into import-KWSys-subtree
7ae44db KWSys 2012-10-16 (b7a97ac3)
97c9887 pre-commit: Update KWSys rejection message for new workflow
3db0b51 KWSys: Submit dashboard builds to PublicDashboard
4b8d363 Merge branch 'upstream-kwsys' into import-KWSys-subtree
a61f633 Merge branch 'master' into import-KWSys-subtree
8c55ea0 Merge branch 'upstream-kwsys' into import-KWSys-subtree
5d0de36 KWSys 2012-10-01 (bab53989)
7d3c295 KWSys 2012-05-02 (719638e2)
2012-11-07 09:07:15 -05:00
Brad King 35171061f9 CTestCustom: Suppress LNK4089 warning about PSAPI
Add a warning suppression regex to match:

 LINK : warning LNK4089: all references to 'PSAPI.DLL' discarded by /OPT:REF
2012-11-05 11:42:27 -05:00
Kitware Robot 9db3116226 Remove CMake-language block-end command arguments
Ancient versions of CMake required else(), endif(), and similar block
termination commands to have arguments matching the command starting the
block.  This is no longer the preferred style.

Run the following shell code:

for c in else endif endforeach endfunction endmacro endwhile; do
    echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
2012-08-13 14:19:16 -04:00
Kitware Robot 77543bde41 Convert CMake-language commands to lower case
Ancient CMake versions required upper-case commands.  Later command
names became case-insensitive.  Now the preferred style is lower-case.

Run the following shell code:

cmake --help-command-list |
grep -v "cmake version" |
while read c; do
    echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
2012-08-13 14:19:16 -04:00
David Cole b926cff110 Suppress warnings occurring on the dashboards using the PGI compiler. 2012-03-07 15:06:42 -05:00
David Cole a9f874d826 Merge topic 'suppress-clang-warning'
f4f94f3 CTestCustom: Suppress clang warning on the dashboard
2012-02-21 15:55:01 -05:00
David Cole f4f94f3b7f CTestCustom: Suppress clang warning on the dashboard
"argument unused during compilation" -- well, thanks, but ...

If somebody has a fix to eliminate this warning entirely, rather
than simply suppressing it from our dashboard results, I'm all
ears.
2012-02-16 16:03:27 -05:00
Bill Hoffman ffb27ca3d4 Teach CTest what a ninja error looks like.
This will allow ninja dashboards to show ninja errors as well
as compiler errors from the ninja build.
2012-02-15 15:29:24 -05:00
David Cole ad6fa0cbca CTestCustom.cmake: Ignore clang's summary warning
Assuming prior text has matched some other warning expression...
2011-09-29 15:44:03 -04:00
David Cole 79701929fb Suppress Qt warning for dashmacmini5 builds
The clang and icc compilers see two lines of warning with
essentially the same message. But the second line does not
say qglobal.h, so remove that part of the warning exclusion
regex. See parent commit for further comments regarding this
warning exclusion.
2011-09-02 14:20:02 -04:00
David Cole 28ce8b7a14 Suppress Qt warning for dashmacmini5 builds
Qt 4.7 and earlier produce a "This version of Mac OS X is unsupported"
warning on Lion, even though they work fine once built. We'll upgrade
this machine to use Qt 4.8 when it's officially released. Until then,
suppress this warning so that we don't miss other "more real" warnings
on the dashboard.
2011-09-01 09:30:57 -04:00
David Cole 1db6955b06 Xcode: Suppress same-old warning again.
They changed the wording of it slightly with Xcode 4.
2011-08-23 13:33:24 -04:00
David Cole d11f439d8a Suppress erroneous warnings from Intel compiler
Googling for "warning #980: wrong number of actual
arguments to intrinsic function" yields:

http://software.intel.com/en-us/articles/cdiag980/
http://software.intel.com/en-us/articles/diagnostic-980-wrong-number-of-actual-arguments-to-intrinsic-function/

Since the compiler is at fault for issuing the warnings
incorrectly, simply suppress them from CMake dashboard results.
2010-12-31 08:38:14 -05:00
David Cole 1e26f7c68b Suppress "loop was vectorized" "warnings."
Eliminate appearance on dashboard results from Intel compilers.
2010-11-08 11:30:19 -05:00
Brad King f9f46f19ee Suppress SGI MIPSpro warning 3968
The warning appears everywhere we use static_cast to explicitly truncate
an integer width.  It appears in the form

  cc-3968 CC: WARNING File = ..., Line = ...
    implicit conversion of a 64-bit integral type to a smaller
    integral type (potential portability problem)
      static_cast<...>(...);
      ^

which is strange because a "static_cast" is not implicit.  It also
appears in system library code.
2010-06-09 09:32:34 -04:00
David Cole 0033245e2f Mask out warnings on ferrari dashboard. 2010-06-08 10:43:15 -04:00
Bill Hoffman 8dd99db686 Add more ignore stuff for OpenBSD 2010-05-14 16:28:22 -04:00
Bill Hoffman 65be87b363 Ignore OpenBSD warnings for use of strcpy, etc. 2010-05-13 11:27:16 -04:00
Bill Hoffman ae6a50aa81 Expand the regular expression for ignoring xcode missing directories. 2010-05-13 11:25:44 -04:00
Bill Hoffman ce9ff00f23 Exclude warnings for Xcode 2010-05-12 10:09:50 -04:00
Bill Hoffman 8e6872857e Add more excludes for the borland compiler. 2010-04-27 17:44:49 -04:00
Bill Hoffman c4277b6132 Another pass at removing borland warnings. 2010-04-26 09:22:13 -04:00
Bill Hoffman 70f9078780 Try to remove borland warnings again. 2010-04-25 15:56:10 -04:00
Zach Mullen 6ea9213244 Coverage glob should search in Source dir 2010-04-23 11:22:54 -04:00
Zach Mullen 7049dff85a Implement extra coverage globbing 2010-04-23 09:20:53 -04:00