summaryrefslogtreecommitdiffstats
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-26 18:49:08 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-26 18:49:39 (GMT)
commit965eb50cda15a2b991684fce2d9e64556ca38523 (patch)
treeff9ab202dad9ecb8ff41f7c8dc31f10fd9436722 /CTestCustom.cmake.in
parent1a5fddfe6d56733528ace3d15899b0739ea28054 (diff)
downloadCMake-965eb50cda15a2b991684fce2d9e64556ca38523.zip
CMake-965eb50cda15a2b991684fce2d9e64556ca38523.tar.gz
CMake-965eb50cda15a2b991684fce2d9e64556ca38523.tar.bz2
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 8489178..93efdb4 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"