Merge pull request #1298 from rouault/fix_1297
[openjpeg.git] / cmake / CTestCustom.cmake.in
index 39c2c4d7bc3fdc78cfb23f1a9709ece2d1c54df3..5afda93cfdc3e8981c4a35d0f1da14232cdd840b 100644 (file)
@@ -20,16 +20,21 @@ set(CTEST_CUSTOM_COVERAGE_EXCLUDE
 
   # Exclude files from the ThirdParty Utilities directories
   ".*/thirdparty/.*"
-  ".*libtiff.*"
   )
 
 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"
-  # supress warnings caused by 3rd party libs:
-  ".*/thirdparty/.*"
+  # java also warns about deprecated API
+  ".*java.*deprecation"
+  ".*deprecation.*"
+  # suppress warnings caused by 3rd party libs:
+  ".*thirdparty.*"
   "libtiff.*has no symbols"
   "libpng.*has no symbols"
   )