Merge pull request #1518 from dg0yt/static-windows
[openjpeg.git] / cmake / CTestCustom.cmake.in
index e04ba593596fc54f5d22a0375927df5b89564413..5afda93cfdc3e8981c4a35d0f1da14232cdd840b 100644 (file)
@@ -25,11 +25,15 @@ set(CTEST_CUSTOM_COVERAGE_EXCLUDE
 set(CTEST_CUSTOM_WARNING_EXCEPTION
   ${CTEST_CUSTOM_WARNING_EXCEPTION}
 
+  # Ignore clang's summary warning, assuming prior text has matched some
+  # other warning expression:
+  "[0-9,]+ warnings? generated."
   # Suppress warning caused by intentional messages about deprecation
   ".*warning,.* is deprecated"
   # java also warns about deprecated API
-  "java.*deprecation"
-  # supress warnings caused by 3rd party libs:
+  ".*java.*deprecation"
+  ".*deprecation.*"
+  # suppress warnings caused by 3rd party libs:
   ".*thirdparty.*"
   "libtiff.*has no symbols"
   "libpng.*has no symbols"