diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-12 20:38:46 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-04-12 20:38:46 (GMT) |
commit | ee6de957bfc57b281e6de7cd3544eac0afd58ab0 (patch) | |
tree | ba117366a0172e537a167d7fd5107630b8faa0d6 /contrib/ctest/common.ctest.inc | |
parent | 3c0206b79166051fdec562b4575474d44daf5863 (diff) | |
download | uscxml-ee6de957bfc57b281e6de7cd3544eac0afd58ab0.zip uscxml-ee6de957bfc57b281e6de7cd3544eac0afd58ab0.tar.gz uscxml-ee6de957bfc57b281e6de7cd3544eac0afd58ab0.tar.bz2 |
Added docs on available variables and reenabled coverage with nightly builds
Diffstat (limited to 'contrib/ctest/common.ctest.inc')
-rw-r--r-- | contrib/ctest/common.ctest.inc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/contrib/ctest/common.ctest.inc b/contrib/ctest/common.ctest.inc index 76b8e73..2f1131d 100644 --- a/contrib/ctest/common.ctest.inc +++ b/contrib/ctest/common.ctest.inc @@ -19,6 +19,26 @@ # We will always build in /tmp/build-* # +### Custom ctest +# see http://lists.gforge.inria.fr/pipermail/simgrid-commits/2010-November/016461.html + +# CTEST_CUSTOM_ERROR_MATCH Regular expression for errors during build process +# CTEST_CUSTOM_ERROR_EXCEPTION Regular expression for error exceptions during build process +# CTEST_CUSTOM_WARNING_MATCH Regular expression for warnings during build process +# CTEST_CUSTOM_WARNING_EXCEPTION Regular expression for warning exception during build process +# CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS Maximum number of errors to display +# CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS Maximum number of warnings to display +# CTEST_CUSTOM_TESTS_IGNORE List of tests to ignore during the Test stage +# CTEST_CUSTOM_MEMCHECK_IGNORE List of tests to ignore during the MemCheck stage +# CTEST_CUSTOM_PRE_TEST Command to execute before any tests are run during Test stage +# CTEST_CUSTOM_POST_TEST Command to execute after any tests are run during Test stage +# CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE Maximum size of passed test output +# CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE Maximum size of failed test output +# CTEST_CUSTOM_PRE_MEMCHECK Command to execute before any tests are run during MemCheck stage +# 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() @@ -38,6 +58,10 @@ set(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 4194304) if (${CTEST_SUBMIT_TYPE} MATCHES "Nightly") find_program(CTEST_COVERAGE_COMMAND NAMES gcov) + SET(CTEST_CUSTOM_COVERAGE_EXCLUDE + "${CTEST_SOURCE_DIRECTORY}/contrib/*" + ) + endif() #find_program(CTEST_MEMORYCHECK_COMMAND NAMES valgrind) |