]> granicus.if.org Git - openjpeg/commitdiff
Ignore clang's summary warning
authorJulien Malik <julien.malik@paraiso.me>
Mon, 2 May 2016 10:55:43 +0000 (12:55 +0200)
committerJulien Malik <julien.malik@paraiso.me>
Mon, 2 May 2016 10:55:43 +0000 (12:55 +0200)
This assumes prior text has matched some other warning expression.

This reduces the warnings reported for clang build on the dashboard,
which were caused only by the "XXX warnings generated." message.
For some reason they were not reported when not using ctest launchers.

This commit allows to confidently use ctest launchers to improve
dashboard reports.

cmake/CTestCustom.cmake.in

index 70e045dab8065064a0593c61b2374809cdf1e173..5afda93cfdc3e8981c4a35d0f1da14232cdd840b 100644 (file)
@@ -25,6 +25,9 @@ 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