ctest_submit: Add CDASH_UPLOAD mode to upload files to CDash

This adds support for the new cdash API where arbitrary files can be
uploaded to the CDash server.  This CDash API communicates via json
files so the json parser jsoncpp was added to the Utilities directory.
This commit is contained in:
Bill Hoffman
2015-01-14 10:54:25 -05:00
committed by Brad King
parent 17cfa09eb2
commit 5dc33f89b5
8 changed files with 535 additions and 3 deletions

View File

@@ -37,3 +37,14 @@ timed-out submission before attempting to re-submit.
The RETRY_COUNT option specifies how many times to retry a timed-out
submission.
::
ctest_submit([CDASH_UPLOAD file]
[CDASH_UPLOAD_TYPE type_string])
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,
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.