From 04b8cbd27aae2372b19598a38ba15e860952cae2 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Mon, 2 May 2016 12:55:43 +0200 Subject: [PATCH] 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. --- cmake/CTestCustom.cmake.in | 3 +++ 1 file changed, 3 insertions(+) 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