summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ctest/common.ctest.inc6
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)