diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-12 20:57:14 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-12 20:57:14 (GMT) |
commit | 287db65b6def2fb21ebb3d29bad16dbd2e73fb3c (patch) | |
tree | 34b2aee08132f382b2430020c610e17705f94fec /contrib/ctest | |
parent | 6f97513a668e363640c6ca5a8785d7200b591c97 (diff) | |
download | uscxml-287db65b6def2fb21ebb3d29bad16dbd2e73fb3c.zip uscxml-287db65b6def2fb21ebb3d29bad16dbd2e73fb3c.tar.gz uscxml-287db65b6def2fb21ebb3d29bad16dbd2e73fb3c.tar.bz2 |
Do not count gcov messages as warnings
Diffstat (limited to 'contrib/ctest')
-rw-r--r-- | contrib/ctest/common.ctest.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/ctest/common.ctest.inc b/contrib/ctest/common.ctest.inc index 2f1131d..2e25d22 100644 --- a/contrib/ctest/common.ctest.inc +++ b/contrib/ctest/common.ctest.inc @@ -38,7 +38,6 @@ # CTEST_CUSTOM_POST_MEMCHECK Command to execute after any tests are run during MemCheck stage # CTEST_CUSTOM_COVERAGE_EXCLUDE Regular expression for excluding files from coverage testing - if ("$ENV{CTEST_SUBMIT_TYPE}" STREQUAL "") message(FATAL_ERROR "ENV{CTEST_SUBMIT_TYPE} is emtpy") endif() @@ -61,9 +60,12 @@ if (${CTEST_SUBMIT_TYPE} MATCHES "Nightly") SET(CTEST_CUSTOM_COVERAGE_EXCLUDE "${CTEST_SOURCE_DIRECTORY}/contrib/*" ) - endif() +set(CTEST_CUSTOM_WARNING_EXCEPTION + ".*will never be executed" +) + #find_program(CTEST_MEMORYCHECK_COMMAND NAMES valgrind) #set(CTEST_MEMORYCHECK_SUPPRESSIONS_FILE ${CTEST_SOURCE_DIRECTORY}/tests/valgrind.supp) |