Browse Source

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.
Brad King 9 years ago
parent
commit
965eb50cda
1 changed files with 2 additions and 0 deletions
  1. 2 0
      CTestCustom.cmake.in

+ 2 - 0
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"