From 81b2b08911dba0d11043913d2d2a0e8b980ddd66 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 28 Aug 2017 10:17:22 -0400 Subject: CTestCustom: Generalize comment on warning summary suppression --- CTestCustom.cmake.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in index e005643..04f9ee2 100644 --- a/CTestCustom.cmake.in +++ b/CTestCustom.cmake.in @@ -70,11 +70,10 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION "cm(StringCommand|CTestTestHandler)\\.cxx.*warning.*srand.*seed choices are.*poor" # we do not do crypto "IPA warning: function.*multiply defined in" - # Ignore clang's summary warning, assuming prior text has matched some + # Ignore compiler summary warning, assuming prior text has matched some # other warning expression: - "[0-9,]+ warnings? generated." - # similarly for PGI - "compilation completed with warnings" + "[0-9,]+ warnings? generated." # Clang + "compilation completed with warnings" # PGI # scanbuild exceptions "char_traits.h:.*: warning: Null pointer argument in call to string length function" -- cgit v0.12 From 32b55a5862f0fe1ea59d052eb83994d5089f06a0 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 28 Aug 2017 10:17:43 -0400 Subject: CTestCustom: Suppress warning summary count from SunPro If warnings appear we want to match and/or suppress them independently. Always suppress the warning summary. --- CTestCustom.cmake.in | 1 + 1 file changed, 1 insertion(+) diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in index 04f9ee2..0e4e9fe 100644 --- a/CTestCustom.cmake.in +++ b/CTestCustom.cmake.in @@ -74,6 +74,7 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION # other warning expression: "[0-9,]+ warnings? generated." # Clang "compilation completed with warnings" # PGI + "[0-9]+ Warning\\(s\\) detected" # SunPro # scanbuild exceptions "char_traits.h:.*: warning: Null pointer argument in call to string length function" -- cgit v0.12