Parcourir la 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 il y a 9 ans
Parent
commit
965eb50cda
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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"