summaryrefslogtreecommitdiff
path: root/cmake/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorJulien Malik <julien.malik@paraiso.me>2016-05-02 12:55:43 +0200
committerJulien Malik <julien.malik@paraiso.me>2016-05-02 12:55:43 +0200
commit04b8cbd27aae2372b19598a38ba15e860952cae2 (patch)
treea478cdfd620665706c4fedb69277d2cd79c13f12 /cmake/CTestCustom.cmake.in
parentb51d088267cb88eb95555ea047755120e36c511b (diff)
Ignore clang's summary warning
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.
Diffstat (limited to 'cmake/CTestCustom.cmake.in')
-rw-r--r--cmake/CTestCustom.cmake.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/CTestCustom.cmake.in b/cmake/CTestCustom.cmake.in
index 70e045da..5afda93c 100644
--- a/cmake/CTestCustom.cmake.in
+++ b/cmake/CTestCustom.cmake.in
@@ -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