summaryrefslogtreecommitdiff
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-26 14:49:08 -0400
committerBrad King <brad.king@kitware.com>2016-09-26 14:49:39 -0400
commit965eb50cda15a2b991684fce2d9e64556ca38523 (patch)
treeff9ab202dad9ecb8ff41f7c8dc31f10fd9436722 /CTestCustom.cmake.in
parent1a5fddfe6d56733528ace3d15899b0739ea28054 (diff)
downloadcmake-965eb50cda15a2b991684fce2d9e64556ca38523.tar.gz
CTestCustom: Suppress PGI compiler warning summary line
We will match/ignore the actual warning lines, if any, so we can always ignore the summary line if present.
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r--CTestCustom.cmake.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index 848917842d..93efdb4f5f 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -70,6 +70,8 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
# Ignore clang's summary warning, assuming prior text has matched some
# other warning expression:
"[0-9,]+ warnings? generated."
+ # similarly for PGI
+ "compilation completed with warnings"
# scanbuild exceptions
"char_traits.h:.*: warning: Null pointer argument in call to string length function"