summaryrefslogtreecommitdiffstats
path: root/Help/command/ctest_submit.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-15 20:23:07 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-20 14:33:21 (GMT)
commit6dd980e0ef1254a6c3098488e6677f5eb4f40a86 (patch)
treef7d0568c3dbbc7ea23976f67ae016aab638fcb3e /Help/command/ctest_submit.rst
parent5dc33f89b5405f1fbcefb9783ea2050a3686d7de (diff)
downloadCMake-6dd980e0ef1254a6c3098488e6677f5eb4f40a86.zip
CMake-6dd980e0ef1254a6c3098488e6677f5eb4f40a86.tar.gz
CMake-6dd980e0ef1254a6c3098488e6677f5eb4f40a86.tar.bz2
ctest_submit: Make CDASH_UPLOAD mode arguments more strict
Disallow mixing of arguments from different command signatures. Extend the RunCMake.CTestSubmit test to cover such error cases.
Diffstat (limited to 'Help/command/ctest_submit.rst')
-rw-r--r--Help/command/ctest_submit.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Help/command/ctest_submit.rst b/Help/command/ctest_submit.rst
index 316a43d..2b83ed9 100644
--- a/Help/command/ctest_submit.rst
+++ b/Help/command/ctest_submit.rst
@@ -38,13 +38,15 @@ timed-out submission before attempting to re-submit.
The RETRY_COUNT option specifies how many times to retry a timed-out
submission.
+Submit to CDash Upload API
+^^^^^^^^^^^^^^^^^^^^^^^^^^
+
::
- ctest_submit([CDASH_UPLOAD file]
- [CDASH_UPLOAD_TYPE type_string])
+ ctest_submit(CDASH_UPLOAD <file> [CDASH_UPLOAD_TYPE <type>])
This second signature is used to upload files to CDash via the CDash
file upload API. The api first sends a request to upload to CDash along
-with the md5 sum of the file. If CDash does not already have the file,
+with a content hash of the file. If CDash does not already have the file,
then it is uploaded. Along with the file, a CDash type string is specified
to tell CDash which handler to use to process the data.