summaryrefslogtreecommitdiffstats
path: root/contrib/ctest
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-12 20:20:56 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2013-04-12 20:20:56 (GMT)
commit3c0206b79166051fdec562b4575474d44daf5863 (patch)
treee5425e7802ac2226e87e0fd71644e4f6e66c4cdc /contrib/ctest
parent714c3d1ee60df7efb1523e752c26fe17e4c74fb2 (diff)
downloaduscxml-3c0206b79166051fdec562b4575474d44daf5863.zip
uscxml-3c0206b79166051fdec562b4575474d44daf5863.tar.gz
uscxml-3c0206b79166051fdec562b4575474d44daf5863.tar.bz2
Reactivated coverage for nightly builds
Diffstat (limited to 'contrib/ctest')
-rw-r--r--contrib/ctest/common.ctest.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/ctest/common.ctest.inc b/contrib/ctest/common.ctest.inc
index d00fac9..76b8e73 100644
--- a/contrib/ctest/common.ctest.inc
+++ b/contrib/ctest/common.ctest.inc
@@ -31,12 +31,14 @@ set(CTEST_SOURCE_DIRECTORY $ENV{USCXML_SOURCE_DIR})
set(CTEST_SUBMIT_TYPE $ENV{CTEST_SUBMIT_TYPE})
set(CTEST_BINARY_DIRECTORY "/tmp/build-uscxml-${CTEST_SUBMIT_TYPE}-${CTEST_SCRIPT_NAME}")
-set(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE 1048576)
-set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1048576)
+set(CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE 4194304)
+set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 4194304)
### Coverage and Memory checks? (untested) ################################
-#find_program(CTEST_COVERAGE_COMMAND NAMES gcov)
+if (${CTEST_SUBMIT_TYPE} MATCHES "Nightly")
+ find_program(CTEST_COVERAGE_COMMAND NAMES gcov)
+endif()
#find_program(CTEST_MEMORYCHECK_COMMAND NAMES valgrind)
#set(CTEST_MEMORYCHECK_SUPPRESSIONS_FILE ${CTEST_SOURCE_DIRECTORY}/tests/valgrind.supp)