summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
Commit message (Collapse)AuthorAgeFilesLines
* Added the --timeout option to ctest command line. This sets a global ↵Zach Mullen2009-11-301-0/+5
| | | | timeout on all tests if no more specific timeout is set on them.
* CTest: Move initial checkout to ctest_start()Brad King2009-11-241-1/+2
| | | | | | | | | | | | | | | | | | | | 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-2/+9
| | | | | | 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/+4
| | | | | This may help statistically detect implicit dependencies among unit tests while running in parallel.
* 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.
* Add label summary times to ctest default output. Also, remove parallel time ↵Bill Hoffman2009-09-111-0/+2
| | | | 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-12/+6
| | | | for ctest
* ENH: refactored ctest. All testing is now parallel. If no -j option is ↵Zach Mullen2009-08-261-1/+1
| | | | specified, defaults to a MP level of 1 (non parallel)
* ENH: Refactored CTest test execution code into an objectZach Mullen2009-08-191-0/+1
|
* BUG: Do not carry over file list between coverageBrad King2009-03-111-0/+1
| | | | | | | | When performing multiple ctest_coverage() commands in a single CTest instance we need to clear the list of CoverageLog-*.xml files for submission. Otherwise if the current coverage run produces fewer log files than the previous run CTest will attempt to submit non-existing files.
* ENH: Add cmCTest::DecodeURL methodBrad King2009-02-241-0/+3
| | | | This new method decodes the "percent-encoding" used in URL syntax.
* STYLE: Add TODO comment about CTest configurationBrad King2009-02-131-0/+4
| | | | | | Currently CTest does not load configuration settings computed at CMake Configure time when running a dashboard script. This adds a comment describing refactoring that might help resolve the problem.
* ENH: Create cmXMLSafe to help escapes in XMLBrad King2009-02-051-3/+0
| | | | | | | 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/+0
| | | | | | | | | | 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/+5
|
* ENH: Divide CTest file submission list by partBrad King2009-01-121-3/+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-16/+37
| | | | | | | | 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.
* ENH: Teach ctest_* to create appending XML filesBrad King2009-01-121-1/+1
| | | | | This adds an APPEND option to the ctest_* commands which tells them to put the Append="true" attribute in the Site element of their XML file.
* ENH: fix return typeBill Hoffman2009-01-091-1/+1
|
* ENH: add subproject tag property for ctestBill Hoffman2009-01-091-0/+3
|
* BUG: Capture cout and cerr from internal ctestBrad King2009-01-051-0/+8
| | | | | | | | When CTest detects that a test is running its own executable it optimizes the test by using an internal instance of cmCTest instead of creating a new process. However, the internal instance was using cout and cerr directly. This redirects the output to a string stream to avoid direct display of the internal test's output.
* STYLE: Fix line length style violation.David Cole2008-11-281-1/+2
|
* ENH: Implement feature request from issue 7885. Allow setting environment ↵David Cole2008-11-261-2/+4
| | | | variables on a per-test basis for ctest using set_test_properties ENVIRONMENT.
* ENH: add max width option to ctest ouptutBill Hoffman2008-09-221-1/+7
|
* ENH: add initial ctest -j featureBill Hoffman2008-07-031-0/+18
|
* BUG: cmCTest::GetConfigType should return the string by reference-to-const ↵Brad King2008-02-031-1/+1
| | | | so that callers may use .c_str() safely.
* ENH: Centralized and globalized computation of CMake program locations. ↵Brad King2007-12-131-1/+1
| | | | This eliminates startup paths that failed to produce this information.
* STYLE: remove argument bool fast, it was unusedAlexander Neundorf2007-06-121-2/+1
| | | | Alex
* ENH: added per test timeout supportKen Martin2007-01-251-1/+1
|
* ENH: added total time limit for a CTest run bug 1207Ken Martin2006-10-191-0/+7
|
* ENH: Properly propagate config type to testAndy Cedilnik2006-10-131-0/+3
|
* ENH: some cleanup and commenting of codeKen Martin2006-10-121-1/+13
|
* ENH: Add support for special tracks, fix options of handlers so that the -R, ↵Andy Cedilnik2006-04-281-0/+5
| | | | -U, and so on work in the new style scripting
* BUG: Improve the behavior of the ReadCustomFilesCommandAndy Cedilnik2006-04-091-3/+4
|
* ENH: added support for -SP scripts in new processesKen Martin2006-04-041-1/+5
|
* ENH: Several cleanups and make sure things get propagated where they should. ↵Andy Cedilnik2006-03-291-3/+3
| | | | Also, allow to load CTest custom files to the actual ctest -S script
* ENH: Add new ctest commandAndy Cedilnik2006-03-281-2/+3
|
* STYLE: some m_ to this-> cleanupKen Martin2006-03-151-42/+42
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-101-9/+9
|
* STYLE: Fix some style issuesAndy Cedilnik2006-03-091-39/+47
|
* BUG: Handle buggy streamsAndy Cedilnik2006-02-281-0/+4
|
* ENH: Add a way to submit extra files to the dashboardAndy Cedilnik2005-07-181-0/+4
|
* ENH: Several improvements and cleanups:Andy Cedilnik2005-07-181-0/+9
| | | | | | | 1. Add long command line arguments for every argument 2. Add a way to overwrite CTest configuration by providing --overwrite TimeOut=10 3. Improve argument parsing. 4. Add submit index argument
* ENH: Add timeout supportAndy Cedilnik2005-07-131-0/+1
|
* ENH: Several improvements with the way things are handled. Also, support ↵Andy Cedilnik2005-06-231-1/+14
| | | | multiple submited files
* ENH: Add superclass for all commands and handlers. Improve handlers to have ↵Andy Cedilnik2005-06-171-0/+1
| | | | initialization code, and start initializing ctest when start is invoked
* ENH: Several improvements to CTest:Andy Cedilnik2005-06-161-3/+6
| | | | | | | | | 1. Support for showing line numbers when debugging ctest --show-line-numbers 2. Modify the ctest initialization code, so that it can be delayed 3. Handlers now have corresponding command if they were invoked from the command (so far only update actually use that) 4. Start command is simplified and the functionality is moved to CTest 5. Update can perform initial checkout if CTEST_CHECKOUT_COMMAND is set 6. Add test that checks out kwsys and perform tests on the fresh checkout
* ENH: Separate standard output and standard error for problematic commandsAndy Cedilnik2005-06-141-1/+25
|
* ENH: Move the build-and-test code to a handlerAndy Cedilnik2005-06-031-19/+2
|