summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ctest_submit
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Add host to ENV{no_proxy} when DNS lookup failure is expectedwilliam.r.dieter2021-01-291-0/+4
| | | | | | | | | | | | | | DNS lookup of an invalid host name fails with a different error in a proxy environment than it does in an environment without proxy. Many tools, including curl, use the `no_proxy` environment variable to provid a list of hosts for which proxy should not be used. To make lookup failure consistent, add invalid host names to the `no_proxy` environment variable in tests that attempt to look up invalid host names. This way the lookup will fail consistently regardless of whether proxy is generally used or not. Signed-off-by: william.r.dieter <william.r.dieter@intel.com>
* ctest_submit: Add option BUILD_IDZack Galbreath2019-03-221-1/+1
| | | | Fixes: #18968
* ctest_submit: Remove submit method from log outputRegina Pfeifer2019-01-162-6/+4
|
* CTest: Remove submit method 'ftp'Regina Pfeifer2018-11-284-7/+0
|
* CTest: Remove submit method 'scp'Regina Pfeifer2018-11-284-4/+0
|
* CTest: Remove submit method 'cp'Regina Pfeifer2018-11-284-6/+0
|
* CTest: Remove submit method 'xmlrpc'Regina Pfeifer2018-11-284-4/+0
|
* Remove unnecessary CTEST_PROJECT_NAME variablesRegina Pfeifer2018-11-201-1/+0
|
* ctest_submit: Add support for a "Done" partBetsy McPhail2018-10-103-0/+5
| | | | | | | | | | | Teach CTest to submit Done.xml. Submission of this file indicates to CDash that a build is complete and no more files will be uploaded. It contains the build id returned by CDash and the current time. This file is submitted last for a given build when using the `ctest_submit()` command. If submitting by PARTS, use `ctest_submit(PARTS Done)`.
* ctest: only create buildid when submitting from Testing/ dirZack Galbreath2018-09-284-0/+4
| | | | | | | | | | | In 7f530cc we taught CTest to pass extra information to CDash at submit time. This extra info is used by CDash to initialize a buildid. `ctest_submit(FILES)` can be used to send specific files to CDash. These files are not necessarily associated with the build currently being performed. For this reason, we modify the behavior of ctest_submit() to only specify this extra info when we are submitting files from the current build's Testing directory.
* ctest_submit: pass additional info to CDashZack Galbreath2018-09-175-0/+5
| | | | | Specify buildname, site, and buildstamp to CDash upon submission. CDash will use this extra info to assign and report back a buildid.
* ctest_submit: show headers as debug infoZack Galbreath2018-06-272-6/+9
| | | | | | | Hide any headers specified by `ctest_submit(HTTPHEADER ...)` unless ctest is run with --debug. This option is used to present bearer tokens to CDash. We do not want to inadvertently expose this secret data in the console output log.
* ctest_submit: Add HTTPHEADER optionZack Galbreath2017-05-047-0/+10
| | | | | | | | | Allow CTest script writers to specify additional HTTP headers to be sent to CDash during submission. The motivating case for this feature is a corresponding change in CDash. This will allow projects to refuse submissions from any site not bearing a valid authentication token.
* ctest_submit: Allow RETRY_COUNT for CDASH_UPLOADZack Galbreath2017-01-208-6/+8
| | | | | | | | 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.
* Tests: Extend ctest_submit host lookup failure matching (#15958)Orion Poplawski2016-02-084-4/+4
| | | | | | | Match this message: Could not resolve host: -no-site-; Name or service not known ^^^^^^^^^^^^^^^^^^^^^^^^^^^
* CTest: Drop "Error in read script" message at end of testingZack Galbreath2015-02-277-7/+0
| | | | | | | A more-specific error message is always displayed earlier in the output if any real error occurred. This final summary message is distracting to readers searching through the output for the word "error". Simply drop it.
* ctest_submit: Add QUIET optionZack Galbreath2015-02-234-0/+9
| | | | | Specifying this option prevents CTest from printing any non-error messages to the console for this call to ctest_submit().
* Tests: Match curl error in RunCMake.ctest_submit FailDrop-* casesBrad King2015-02-233-3/+3
| | | | | Port the regexes over from the CTestTestFailedSubmit tests for ftp, http, and https. No such match is needed for the other protocols.
* Tests: Rename RunCMake.{CTestSubmit => ctest_submit}Brad King2015-02-1946-0/+141
Follow the convention of naming tests after the command they test.