summaryrefslogtreecommitdiffstats
path: root/Modules/CTest.cmake
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2010-06-03 14:34:34 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2010-06-03 14:34:34 (GMT)
commite525649a4e9f2578c41593b56f9af4b4b7719984 (patch)
tree46092e3926a2ff9bee3a2038f495fc0992e8635f /Modules/CTest.cmake
parent7f619608d50cabee8718d78427d560531a3b1ea1 (diff)
downloadCMake-e525649a4e9f2578c41593b56f9af4b4b7719984.zip
CMake-e525649a4e9f2578c41593b56f9af4b4b7719984.tar.gz
CMake-e525649a4e9f2578c41593b56f9af4b4b7719984.tar.bz2
Checksums on CTest submit files, and retry timed out submissions.
Diffstat (limited to 'Modules/CTest.cmake')
-rw-r--r--Modules/CTest.cmake9
1 files changed, 8 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)