From 3c0206b79166051fdec562b4575474d44daf5863 Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Fri, 12 Apr 2013 22:20:56 +0200 Subject: Reactivated coverage for nightly builds --- contrib/ctest/common.ctest.inc | 8 +++++--- test/samples/w3c/ecma/test463.scxml | 2 +- test/samples/w3c/ecma/test530.scxml | 4 +--- test/samples/w3c/ecma/test568.scxml | 6 ++---- 4 files changed, 9 insertions(+), 11 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) diff --git a/test/samples/w3c/ecma/test463.scxml b/test/samples/w3c/ecma/test463.scxml index 8ff0555..4f32b84 100644 --- a/test/samples/w3c/ecma/test463.scxml +++ b/test/samples/w3c/ecma/test463.scxml @@ -1,7 +1,7 @@ - + diff --git a/test/samples/w3c/ecma/test530.scxml b/test/samples/w3c/ecma/test530.scxml index 0090907..9361181 100644 --- a/test/samples/w3c/ecma/test530.scxml +++ b/test/samples/w3c/ecma/test530.scxml @@ -18,9 +18,7 @@ is evaluated at the right time, we should get invoke.done, otherwise an error - - - - + diff --git a/test/samples/w3c/ecma/test568.scxml b/test/samples/w3c/ecma/test568.scxml index ebfce36..03d32dd 100644 --- a/test/samples/w3c/ecma/test568.scxml +++ b/test/samples/w3c/ecma/test568.scxml @@ -4,10 +4,8 @@ send events. --> - - - - + + -- cgit v0.12