summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestSubmitHandler.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Port Global property interaction to cmState.Stephen Kelly2015-04-151-1/+2
|
* cmake: Remove the happy global property scope pattern.Stephen Kelly2015-04-151-1/+1
| | | | | | | | | Global properties are already global in scope, so remove the overload for specifying it and port users of the API. The call from cmMakefile::GetProperty can be simplified because the scope is only used during chaining, and there is no further chaining after processing global properties.
* ctest_submit: Add QUIET optionZack Galbreath2015-02-231-112/+127
| | | | | Specifying this option prevents CTest from printing any non-error messages to the console for this call to ctest_submit().
* ctest_submit: Escape URL components in CDASH_UPLOAD modeBill Hoffman2015-01-301-11/+14
| | | | Call curl_easy_escape on arguments sent to CDash upload.
* cmake: Use a default CA path when not using system curlBrad King2015-01-231-1/+2
| | | | | | | | | | | | | | | | | | | | When using system curl, we trust it to be configured with desired CA certs. When using our own build of curl, we use os-configured CA certs on Windows and OS X. On other systems, try to achieve this by searching for common CA cert locations. According to a brief investigation, the curl packages on popular Linux distros are currently configured as: * Arch: /etc/ssl/certs/ca-certificates.crt * Debian with OpenSSL: /etc/ssl/certs * Debian with GNU TLS: /etc/ssl/certs/ca-certificates.crt * Debian with NSS: /etc/ssl/certs/ca-certificates.crt * Fedora: /etc/pki/tls/certs/ca-bundle.crt * Gentoo with OpenSSL: /etc/ssl/certs * Gentoo without OpenSSL: /etc/ssl/certs/ca-certificates.crt Teach CMake and CTest to look for these paths and use them as a CA path or bundle when no other os-configured or user-specified CAs are available.
* ctest_submit: Make CDASH_UPLOAD mode arguments more strictBrad King2015-01-201-4/+10
| | | | | Disallow mixing of arguments from different command signatures. Extend the RunCMake.CTestSubmit test to cover such error cases.
* ctest_submit: Add CDASH_UPLOAD mode to upload files to CDashBill Hoffman2015-01-201-1/+160
| | | | | | 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.
* Replace foo.size() pattern with !foo.empty().Stephen Kelly2015-01-181-5/+5
|
* Replace !foo.size() pattern with foo.empty().Stephen Kelly2015-01-181-4/+4
|
* Replace 'foo.size() == 0' pattern with foo.empty().Stephen Kelly2015-01-181-1/+1
|
* Replace 'foo.size() > 0' pattern with !foo.empty().Stephen Kelly2015-01-181-16/+16
|
* Use two-iterator std::set::insert where appropriate.Stephen Kelly2015-01-111-15/+3
|
* Remove some unneeded c_str calls.Stephen Kelly2014-11-231-2/+2
|
* strings: Remove redundant calls to std::string::c_str()Nils Gladitz2014-10-151-11/+11
| | | | | Replacements were detected and performed by the clang tool remove-cstr-calls on a linux build.
* CTest: Allow / to be in the build name, and be consistent with the build nameBill Hoffman2014-08-181-1/+3
| | | | | | | | Prior to this change / was not allowed in the build name. This was tested with a CDash server and worked. In addition the safe build name was not used everywhere. This caused mismatched build names to be in the xml files going to CDash which caused different rows to be created for the same build.
* Encoding: Fix a few encoding problems with ctest.Clinton Stimpson2014-07-181-7/+8
| | | | | This also fixes some test failures on Windows when the name of the build directory contains non-ascii characters.
* Remove c_str calls when using stream APIs.Stephen Kelly2014-03-111-23/+23
| | | | | Use an ad-hoc clang tool for matching the calls which should be ported.
* Remove some c_str() calls.Stephen Kelly2014-03-111-2/+2
| | | | | | Use the clang RemoveCStrCalls tool to automatically migrate the code. This was only run on linux, so does not have any positive or negative effect on other platforms.
* stringapi: Miscellaneous char* parametersBen Boeckel2014-03-081-7/+7
|
* strings: Remove cmStdString referencesBen Boeckel2014-03-081-49/+49
| | | | | | | | | | | Casts from std::string -> cmStdString were high on the list of things taking up time. Avoid such implicit casts across function calls by just using std::string everywhere. The comment that the symbol name is too long is no longer relevant since modern debuggers alias the templates anyways and the size is a non-issue since the underlying methods are generated since it's inherited.
* Use cmsys::[io]fstream instead of cmsys_ios::[io]fstream.Clinton Stimpson2014-01-071-4/+4
| | | | | Also use SystemTools::Fopen() instead of fopen(). This is to eventually support utf-8 filenames.
* Remove some uses of obsolete 'register' storage specifierSean McBride2013-06-281-1/+1
| | | | Remove the keyword from all Source/* files outside of KWSys.
* Implement ctest_upload commandZach Mullen2011-03-151-0/+1
|
* Remove trailing whitespaceBrad King2011-03-111-14/+14
|
* Merge topic 'resolve/doc-spelling/CPackRPM'Brad King2010-07-201-1/+1
|\ | | | | | | | | | | 7739d78 Merge CPackRPM changes into doc-spelling 9203e91 Fix spelling errors reported by Lintian.
| * Fix spelling errors reported by Lintian.Kai Wasserbäch2010-07-131-1/+1
| | | | | | | | | | During a Lintian run on the binary packages of CMake in Debian I was notified of many spelling mistakes.
* | Activate retry code on any curl submit failure.David Cole2010-07-121-4/+5
| | | | | | | | | | | | | | | | Previously, we were only going into the retry block for time out conditions. But a "could not connect" response, or really any sort of curl failure, is also a condition where we should retry the submit if the user has requested a retry.
* | Mock checksum failure output for old CDash versionsZach Mullen2010-06-101-0/+13
| |
* | Testing for CTest checksumZach Mullen2010-06-101-26/+34
| |
* | CTest should resubmit in the checksum failed caseZach Mullen2010-06-051-17/+26
| |
* | Fix subscript out of range crashZach Mullen2010-06-031-1/+4
| |
* | Cross-platform fixes for checksum/retry codeZach Mullen2010-06-031-14/+20
| |
* | Checksums on CTest submit files, and retry timed out submissions.Zach Mullen2010-06-031-19/+151
|/
* Added a "-http1.0" option to ctest to make it submit using curl's http 1.0 ↵Zach Mullen2009-12-111-4/+53
| | | | option. Also added parsing of html reponse output to determine whether errors or warnings were sent in response from the server. If errors or warnings occurred, the response is output to stdout, and the "submission successful" message has been changed to accurately reflect whether or not warnings or errors were returned with the response.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* Increase curl submit timeout. A submit will timeout if there are 120 seconds ↵David Cole2009-09-041-7/+11
| | | | of very little activity. 30 seconds was too short.
* Add curl timeout options to the SubmitUsingHTTP method. They were only in ↵David Cole2009-09-011-2/+7
| | | | the SubmitUsingFTP method.
* ENH: set an upload speed limit for ctestBill Hoffman2009-06-251-0/+5
|
* ENH: Disable the xmlrpc drop method by defaultBrad King2009-06-111-0/+17
| | | | | | | We've chosen to drop our default dependence on xmlrpc. Thus we disable the corresponding CTest submission method and remove the sources for building xmlrpc locally. Users can re-enable the method by setting the CTEST_USE_XMLRPC option to use a system-installed xmlrpc library.
* ENH: remove warning and improve messageBill Hoffman2009-04-111-6/+1
|
* ENH: remove cerr callBill Hoffman2009-04-101-1/+0
|
* ENH: add ability to control ssl cert checkingBill Hoffman2009-04-101-2/+36
|
* ENH: use 0 not FALSEBill Hoffman2009-03-311-1/+1
|
* ENH: add submit via cp modeBill Hoffman2009-03-311-3/+77
|
* ENH: allow for https submission if ctest is built with a curl that supports itBill Hoffman2009-03-121-4/+5
|
* COMP: Iterator version of std::set not available with vs6 implementation of ↵David Cole2009-02-041-3/+11
| | | | STL. Use explicit iteration to insert individual elements one at a time. Sigh.
* ENH: Add FILES arg to the ctest_submit command. BUG: Propagate the IsCDash ↵David Cole2009-02-031-7/+29
| | | | setting properly to the ctest configuration during a submit. Also, do not propagate TriggerSite for projects submitting to CDash. No triggers are necessary with CDash.
* BUG: Fix CTest submit-only operationBrad King2009-01-271-8/+1
| | | | | | | | We need to initialize cmCTestSubmitHandler on construction to make sure all parts get enabled by default. The recent fix to re-enable all parts on initialization broke submit-only operations because the handler did not initialize on construction. This also removes duplicate initialization code.
* ENH: fix part submission to not have memory of the last part submissionBill Hoffman2009-01-151-5/+5
|
* COMP: Fix const set find for Borland 5.5Brad King2009-01-141-1/+2
| | | | | | The Borland 5.5 compiler's STL set does not define correct signatures for its find() members, leading to build errors. This works around the problem.