diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2010-06-03 14:34:34 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2010-06-03 14:34:34 (GMT) |
commit | e525649a4e9f2578c41593b56f9af4b4b7719984 (patch) | |
tree | 46092e3926a2ff9bee3a2038f495fc0992e8635f /Modules | |
parent | 7f619608d50cabee8718d78427d560531a3b1ea1 (diff) | |
download | CMake-e525649a4e9f2578c41593b56f9af4b4b7719984.zip CMake-e525649a4e9f2578c41593b56f9af4b4b7719984.tar.gz CMake-e525649a4e9f2578c41593b56f9af4b4b7719984.tar.bz2 |
Checksums on CTest submit files, and retry timed out submissions.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CTest.cmake | 9 | ||||
-rw-r--r-- | Modules/DartConfiguration.tcl.in | 4 |
2 files changed, 12 insertions, 1 deletions
diff --git a/Modules/CTest.cmake b/Modules/CTest.cmake index 2d0702e..bdaf911 100644 --- a/Modules/CTest.cmake +++ b/Modules/CTest.cmake @@ -163,6 +163,11 @@ IF(BUILD_TESTING) SET(DART_TESTING_TIMEOUT 1500 CACHE STRING "Maximum time allowed before CTest will kill the test.") + SET(CTEST_SUBMIT_RETRY_DELAY 5 CACHE STRING + "How long to wait between timed-out CTest submissions.") + SET(CTEST_SUBMIT_RETRY_COUNT 3 CACHE STRING + "How many times to retry timed-out CTest submissions.") + FIND_PROGRAM(MEMORYCHECK_COMMAND NAMES purify valgrind boundscheck PATHS @@ -262,7 +267,9 @@ IF(BUILD_TESTING) SCPCOMMAND SLURM_SBATCH_COMMAND SLURM_SRUN_COMMAND - SITE + SITE + CTEST_SUBMIT_RETRY_DELAY + CTEST_SUBMIT_RETRY_COUNT ) # BUILDNAME IF(NOT RUN_FROM_DART) diff --git a/Modules/DartConfiguration.tcl.in b/Modules/DartConfiguration.tcl.in index 85b4138..799ff79 100644 --- a/Modules/DartConfiguration.tcl.in +++ b/Modules/DartConfiguration.tcl.in @@ -83,3 +83,7 @@ CurlOptions: @CTEST_CURL_OPTIONS@ # warning, if you add new options here that have to do with submit, # you have to update cmCTestSubmitCommand.cxx +# For CTest submissions that timeout, these options +# specify behavior for retrying the submission +CTestRetryTime: @CTEST_SUBMIT_RETRY_DELAY@ +CTestRetryCount: @CTEST_SUBMIT_RETRY_COUNT@ |