Просмотр исходного кода

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 лет назад
Родитель
Сommit
965eb50cda
1 измененных файлов с 2 добавлено и 0 удалено
  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
   # Ignore clang's summary warning, assuming prior text has matched some
   # other warning expression:
   # other warning expression:
   "[0-9,]+ warnings? generated."
   "[0-9,]+ warnings? generated."
+  # similarly for PGI
+  "compilation completed with warnings"
 
 
 # scanbuild exceptions
 # scanbuild exceptions
   "char_traits.h:.*: warning: Null pointer argument in call to string length function"
   "char_traits.h:.*: warning: Null pointer argument in call to string length function"