summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ctest_submit/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2017-01-04 15:27:37 (GMT)
committerBrad King <brad.king@kitware.com>2017-01-20 16:37:27 (GMT)
commit5614a5cd1f7f8fe34f6b31c572476a2ddfd6d9ae (patch)
treefde1befc0e3198dc331b15ea861842c36c97f7df /Tests/RunCMake/ctest_submit/RunCMakeTest.cmake
parentc628fd2fab273999e959aad00834369924dd9d06 (diff)
downloadCMake-5614a5cd1f7f8fe34f6b31c572476a2ddfd6d9ae.zip
CMake-5614a5cd1f7f8fe34f6b31c572476a2ddfd6d9ae.tar.gz
CMake-5614a5cd1f7f8fe34f6b31c572476a2ddfd6d9ae.tar.bz2
ctest_submit: Allow RETRY_COUNT for CDASH_UPLOAD
Teach the CDASH_UPLOAD signature of ctest_submit() to honor the RETRY_COUNT and RETRY_DELAY options. Also teach HttpRequest() to honor the default 120 second timeout for curl connections.
Diffstat (limited to 'Tests/RunCMake/ctest_submit/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/ctest_submit/RunCMakeTest.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/ctest_submit/RunCMakeTest.cmake b/Tests/RunCMake/ctest_submit/RunCMakeTest.cmake
index a81bc96..e104f8a 100644
--- a/Tests/RunCMake/ctest_submit/RunCMakeTest.cmake
+++ b/Tests/RunCMake/ctest_submit/RunCMakeTest.cmake
@@ -21,9 +21,9 @@ run_ctest_submit(PARTSCDashUpload PARTS Configure CDASH_UPLOAD)
run_ctest_submit(PARTSCDashUploadType PARTS Configure CDASH_UPLOAD_TYPE)
run_ctest_submit(CDashUploadPARTS CDASH_UPLOAD bad-upload PARTS)
run_ctest_submit(CDashUploadFILES CDASH_UPLOAD bad-upload FILES)
-run_ctest_submit(CDashUploadRETRY_COUNT CDASH_UPLOAD bad-upload RETRY_COUNT)
-run_ctest_submit(CDashUploadRETRY_DELAY CDASH_UPLOAD bad-upload RETRY_DELAY)
run_ctest_submit(CDashUploadNone CDASH_UPLOAD)
+run_ctest_submit(CDashUploadMissingFile CDASH_UPLOAD bad-upload)
+run_ctest_submit(CDashUploadRetry CDASH_UPLOAD ${CMAKE_CURRENT_LIST_FILE} CDASH_UPLOAD_TYPE foo RETRY_COUNT 2 RETRY_DELAY 1 INTERNAL_TEST_CHECKSUM)
run_ctest_submit(CDashSubmitQuiet QUIET)
function(run_ctest_CDashUploadFTP)