summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Better detection of stop_time being passed.Zach Mullen2010-03-191-1/+2
|
* Fix StopTime to also account for localtime being a day ahead of gmtimeZach Mullen2010-03-181-4/+5
|
* Fix for StopTime for cases when gmtime is a day ahead of localtimeZach Mullen2010-03-181-1/+13
|
* Add the --stop-time argumentZach Mullen2010-03-171-0/+42
| | | | Unit test and script hook for STOP_TIME
* Configurable path to CTest cost data fileZach Mullen2010-03-011-0/+11
| | | | Allow the user to set the CMake variable CTEST_COST_DATA_FILE, which will be used to store the cost data from test runs. If not set, defaults to the original location in the build tree Testing/Temporary dir.
* Moved call to cache CDash version information to cmCTest::initialize. Also ↵Zach Mullen2010-02-081-4/+6
| | | | added a 3 second timeout when requesting the version from the server. Added an option to the CTestConfiguration that will be used to determine whether to query the version information at all. (Behavior for this setting is not yet defined.) Updated CMake's local CDash version setting to 1.6.
* Fix HPUX issue with test, by doing the query to cdash for its version before ↵Bill Hoffman2010-02-051-1/+3
| | | | any test is started.
* Fix a line length issue.Bill Hoffman2010-01-051-1/+2
|
* Enhanced CTest HTTP Request API to support PUT file uploads.Zach Mullen2009-12-301-9/+29
|
* Fix crash on Continuous dashboard - related to last commit fixing issue ↵David Cole2009-12-291-1/+7
| | | | #10060. Do not call ShouldCreateNewTag if command is NULL...
* Fix issue #10060 - add APPEND arg to ctest_start command.David Cole2009-12-291-52/+82
| | | | If APPEND is given to ctest_start, it will read the tag from the current existing Testing/TAG file rather than creating a new one based on the current time stamp. This allows a developer to run several dashboard scripts in a row, all of which will share the same tag/stamp/buildid when they finally get submitted to CDash. Now you can split the running of build phases and test phases for the same dashboard row into multiple scripts.
* Move cURL dependent code out of CMakeLib to fix complex tests.Zach Mullen2009-12-221-1/+53
|
* Make new web api safe for bootstrap build.Zach Mullen2009-12-211-0/+4
|
* Query the CDash web API to automate CDash version detection.Zach Mullen2009-12-211-3/+15
|
* Added support for CTest awareness of the CDash version. This will help ↵Zach Mullen2009-12-211-0/+19
| | | | forward compatibility for both tools. Note that this changeset effectively makes the default to disable output compression. Now, to enable output compression, the CDASH_CTEST_VERSION must be explicity set to >= 1.6. Automated detection of the CDash version is the next step.
* Added an option to conditionally attach files to a test submission only if ↵Zach Mullen2009-12-161-0/+6
| | | | the test does not pass. Also some preliminary changes for test output compression.
* Added a "-http1.0" option to ctest to make it submit using curl's http 1.0 ↵Zach Mullen2009-12-111-1/+7
| | | | 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.
* Added the --timeout option to ctest command line. This sets a global ↵Zach Mullen2009-11-301-1/+8
| | | | timeout on all tests if no more specific timeout is set on them.
* CTest: Move initial checkout to ctest_start()Brad King2009-11-241-17/+3
| | | | | | | | | | | | | | | | | | | | In CTest command-driven script mode we support starting without a source tree. Previously the ctest_start() command would do some initialization but could not do anything that required CTestConfig.cmake from the input source tree. Later, ctest_update() would run CTEST_CHECKOUT_COMMAND to create the source tree, and then re-initialize everything. This delayed-initialization approach led to many complicated cases of which only some worked. For example, the second initialization only worked correctly in Nightly mode and simply failed for Experimental and Continuous builds. A simpler solution is to run CTEST_CHECKOUT_COMMAND during ctest_start() and then have a single initialization path. In principle this change in behavior could break scripts that set the checkout command after ctest_start() but before ctest_update(). However, the convention we've always followed has been to set all variables before ctest_start(). See issue #9450.
* CTest: Simplify Initialize method signatureBrad King2009-11-241-7/+6
| | | | | | We make the cmCTest::Initialize method private since it is only called from inside the class implementation. We also combine the two boolean arguments into one since they both meant the same thing.
* Hook for scheduling tests in a random orderZach Mullen2009-10-291-0/+6
| | | | | This may help statistically detect implicit dependencies among unit tests while running in parallel.
* Fix crash on Windows. Remove trailing white space from regex. These changes ↵David Cole2009-10-151-1/+1
| | | | should correct all failures of the new FailedSubmit tests.
* Fix floating point comparison warnings. Thanks to Alex Neundorf for the patch.David Cole2009-10-131-3/+3
|
* Fix line length.Zach Mullen2009-10-131-1/+2
|
* Uncomment block in InitializeFromCommand (accidentally checked this change in)Zach Mullen2009-10-121-4/+4
|
* CTest-side support for compiler name and compiler version information. ↵Zach Mullen2009-10-121-4/+9
| | | | Requires CDash update to show on CDash.
* 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.
* Removed commentZach Mullen2009-09-241-2/+0
|
* Reformat ctest -N output. Removed the "Start processing tests" message as well.Zach Mullen2009-09-241-1/+1
|
* Add label summary times to ctest default output. Also, remove parallel time ↵Bill Hoffman2009-09-111-0/+5
| | | | output. Add flag to disable label summary.
* Fixed ctest output where max test index is not the same width as the total ↵Zach Mullen2009-09-021-0/+5
| | | | number of tests. Also some preliminary changes for batching ctest jobs
* Fixed ctest -N segfault issue. Further refactored ctest. Enabled failover ↵Zach Mullen2009-08-271-24/+7
| | | | for ctest
* ENH: refactored ctest. All testing is now parallel. If no -j option is ↵Zach Mullen2009-08-261-1/+6
| | | | specified, defaults to a MP level of 1 (non parallel)
* Fixed overwriting of a previous change setZach Mullen2009-08-191-2/+0
|
* ENH: Refactored CTest test execution code into an objectZach Mullen2009-08-191-0/+2
|
* BUG: Do not double-initialize local generatorsBrad King2009-07-281-1/+0
| | | | | | | | | All global generator CreateLocalGenerator methods automatically initialize the local generator instances with SetGlobalGenerator. In several places we were calling SetGlobalGenerator again after receiving the return value from CreateLocalGenerator. The double-initializations leaked the resources allocated by the first call to SetGlobalGenerator. This fix removes the unnecessary calls.
* BUG: Fix typo pointed out by Monsieur Francois Bertel. Merci, Francois.David Cole2009-07-221-1/+1
|
* ENH: only 5 failing tests for VS 10Bill Hoffman2009-07-101-1/+4
|
* COMP: Avoid operator precedence warningBrad King2009-05-111-5/+1
| | | | GCC warns that parens should be used for nested and/or operators.
* BUG: 8898 fix date in ctest nightly timeBill Hoffman2009-05-071-2/+5
|
* ENH: Overhaul CMake version numberingBrad King2009-03-051-1/+2
| | | | | | | | | | | | | This moves the version numbers into an isolated configured header so that not all of CMake needs to rebuild when the version changes. Previously we had spaces, dashes and/or the word 'patch' randomly chosen before the patch number. Now we always report version numbers in the traditional format "<major>.<minor>.<patch>[-rc<rc>]". We still use odd minor numbers for development versions. Now we also use the CCYYMMDD date as the patch number of development versions, thus allowing tests for exact CMake versions.
* ENH: Add cmCTest::DecodeURL methodBrad King2009-02-241-0/+21
| | | | This new method decodes the "percent-encoding" used in URL syntax.
* ENH: add label global property to ctest scriptsBill Hoffman2009-02-101-0/+10
|
* ENH: add the ability to run tests by labelsBill Hoffman2009-02-101-0/+16
|
* ENH: Create cmXMLSafe to help escapes in XMLBrad King2009-02-051-55/+4
| | | | | | | This class provides easy syntax to efficiently insert blocks of data into XML documents with proper escapes. It replaces the old cmCTest::MakeXMLSafe and cmSystemTools::MakeXMLSafe methods which allocated extra memory instead of directly streaming the data.
* BUG: Reset file submission list on test restartBrad King2009-01-271-1/+4
| | | | | | | | | | When running in script mode it is possible to run multiple separate dashboard submissions in one cmCTest instance. The recent refactoring of file submission lists into parts failed to clear the submission lists when starting a new dashboard (ctest_start or ctest_update). Only the unused old submission set was cleared. This fixes the refactored version to remove the old submission set completely and also clear the part-wise lists.
* BUG: add output on failure to ctest #8255Bill Hoffman2009-01-181-0/+26
|
* COMP: Remove unused variableBrad King2009-01-121-1/+0
|
* ENH: Divide CTest file submission list by partBrad King2009-01-121-6/+7
| | | | | | This splits the list of files for CTest to submit into those belonging to each part. The set is recombined just before submission. Later this will allow piecewise submissions.
* ENH: Refactor cmCTest test part representationBrad King2009-01-121-58/+51
| | | | | | | | This introduces the name "part" to denote a portion of the testing and submission process performed by ctest. We generalize the boolean indicating whether each part is enabled into a structure to which more information can be added later. We provide bi-directional mapping between part id and part names.