summaryrefslogtreecommitdiffstats
path: root/Source/CTest
Commit message (Collapse)AuthorAgeFilesLines
* Fix for bug#9442, ctest crash if CTEST_SOURCE_DIRECTORY was not set.Bill Hoffman2009-09-111-1/+1
|
* Fix new CTest output handling for no newlineBrad King2009-09-111-0/+1
| | | | | | When we clear the buffer for an output pipe after returning the last partial line (without a newline) we need to set the partial line range to empty. Otherwise the buffer object is left in an inconsistent state.
* Add label summary times to ctest default output. Also, remove parallel time ↵Bill Hoffman2009-09-111-20/+32
| | | | output. Add flag to disable label summary.
* Rewrite CTest child output handlingBrad King2009-09-115-203/+132
| | | | | | | | | | | | | | This commit fixes cmCTestRunTest and cmProcess to more efficiently handle child output. We now use the buffer for each child output pipe to hold at most a partial line plus one new block of data at a time. All complete lines are scanned in-place, and then only the partial line at the end of the buffer is moved back to the beginning before appending new data. We also simplify the cmProcess interface by making GetNextOutputLine the only method that needs to be called while the process is running. This simplifies cmCTestRunTest so that CheckOutput can be called until it returns false when the process is done.
* Initialize cmCTestRunTest instances robustlyBrad King2009-09-113-18/+6
| | | | | | All instances of this class need a cmCTestTestHandler, so we now require one to construct it. The instance also provides the cmCTest instance too.
* Add parentheses around '&&' between '||' for gccBrad King2009-09-111-4/+4
| | | | | | | The GNU compiler warns about possible operator precedence mistakes and asks for explicit parentheses (-Wparentheses). We add the parentheses to silence the warning. This also fixes one real logic error in the find_package() implementation by correcting expression evaluation order.
* Added some ctest batch capabilitiesZach Mullen2009-09-102-0/+148
|
* BUG: Fixed segfault and bad reporting if a ctest executable could not be ↵Zach Mullen2009-09-105-48/+37
| | | | found. Also added some batch testing code that is not yet complete.
* ENH: ctest now writes time cost data to a file after a test set is run, and ↵Zach Mullen2009-09-083-9/+61
| | | | uses these time costs to schedule the processes the next time ctest is run in that build tree.
* BUG: Fixed extraneous newlines from ctest process outputZach Mullen2009-09-082-21/+26
|
* ENH: Replaced the EXPENSIVE test property with a COST test property taking a ↵Zach Mullen2009-09-084-64/+72
| | | | floating point value. Tests are now started in descending order of their cost, which defaults to 0 if none is specified.
* BUG: Fixed issue where ctest would hang if a process terminated with output ↵Zach Mullen2009-09-083-12/+39
| | | | in its buffers but no newline
* Fixed warningZach Mullen2009-09-081-1/+1
|
* ENH: Added ctest test options PROCESSORS and RUN_SERIAL. These allow ↵Zach Mullen2009-09-075-7/+36
| | | | specification of resource allocation for given tests running with the ctest -j N option. RUN_SERIAL ensures that a given test does not run in parallel with any other test. Also forced appending of "..." to the longest test name in ctest.
* Fix memory and process leak in ctest_run_script.Bill Hoffman2009-09-041-1/+1
|
* 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.
* Fixed ctest output processing. Should now display output as it occurs, as ↵Zach Mullen2009-09-043-31/+46
| | | | well as be able to consume multiple lines if they exist within the timeout.
* Change run_ctest_script in ctest to not stop processing when there is an ↵Bill Hoffman2009-09-044-8/+43
| | | | error in the script being run. Also, add a RETURN_VALUE option so that you can find out if the script failed
* Fixed output as-it-happens issue. Now displays output as it receives each ↵Zach Mullen2009-09-041-0/+4
| | | | newline.
* Added the test property EXPENSIVE, which denotes that the given test(s) ↵Zach Mullen2009-09-044-15/+43
| | | | should be started prior to tests that are not marked as such. Also fixed test dependencies, and a few uninitialized variables in cmProcess.
* Fixed 2 unused variable warningsZach Mullen2009-09-031-3/+1
|
* Allowed tests to pull more than one line of output in their quantum. Fixed ↵Zach Mullen2009-09-035-80/+91
| | | | uninitialized variables in the case that the test process could not start.
* Fixed warningsZach Mullen2009-09-034-2/+8
|
* ENH: Added PARALLEL_LEVEL option for ctest_memcheck(). Added PROCESSORS ↵Zach Mullen2009-09-035-6/+22
| | | | option to set_tests_properties (implementation to come).
* STYLE: line lengthZach Mullen2009-09-021-2/+5
|
* ENH: Added PARALLEL_LEVEL option to ctest_test() command.Zach Mullen2009-09-023-3/+16
|
* Fixed ctest output where max test index is not the same width as the total ↵Zach Mullen2009-09-025-17/+55
| | | | number of tests. Also some preliminary changes for batching ctest jobs
* Add curl timeout options to the SubmitUsingHTTP method. They were only in ↵David Cole2009-09-011-2/+7
| | | | the SubmitUsingFTP method.
* ENH: Improved test reporting outputZach Mullen2009-09-011-8/+14
|
* Fixed ctest_memcheck docs (http://www.cmake.org/Bug/view.php?id=9242)Zach Mullen2009-08-311-4/+14
|
* Fixed Dart time recording for ctestZach Mullen2009-08-311-0/+6
|
* Fixed conversion warning on 64 bit machinesZach Mullen2009-08-314-320/+6
|
* Fixed line length issueZach Mullen2009-08-301-1/+2
|
* MemCheck should now work again in ctestZach Mullen2009-08-287-65/+67
|
* Replaced std::stringstream with cmOStringStreamZach Mullen2009-08-281-1/+1
|
* Added ctest -N test. Fixed ctest working directory bug. MemCheck fix ↵Zach Mullen2009-08-287-153/+114
| | | | coming soon...
* Fixed ctest -N segfault issue. Further refactored ctest. Enabled failover ↵Zach Mullen2009-08-277-396/+235
| | | | for ctest
* ENH: refactored ctest. All testing is now parallel. If no -j option is ↵Zach Mullen2009-08-266-504/+322
| | | | specified, defaults to a MP level of 1 (non parallel)
* Fixed line length over 80Zach Mullen2009-08-201-5/+6
|
* Fixed overwriting of a previous change setZach Mullen2009-08-192-0/+53
|
* ENH: Refactored CTest test execution code into an objectZach Mullen2009-08-194-65/+648
|
* Add test times to log file as well as the stdout.Bill Hoffman2009-08-181-2/+14
|
* If labels are found on the tests, then print a time summary for all the ↵Bill Hoffman2009-08-182-1/+49
| | | | tests run with each label.
* Fix classification of externals in svn statusBrad King2009-08-121-2/+2
| | | | | | | CTest runs 'svn status' to identify modified and conflicting files in the working directory. This commit fixes the interpretation of the 'X' status, which corresponds to svn eXternals. This status should be ignored rather than treated as a local modification.
* Output total time when using -j NBill Hoffman2009-08-123-2/+3
|
* Fix failing test on release build for VS 10 cmSystemTools::GetLineFromStream ↵Bill Hoffman2009-08-111-1/+1
| | | | crashes if the stream is not open in that case.
* Set current directory variables in CTest scriptsBrad King2009-07-311-0/+6
| | | | | | | | | | | | | | The commit "Fix get_filename_component ABSOLUTE mode" broke the code get_filename_component(cwd . ABSOLUTE) because CTest scripts did not make cmMakefile::GetCurrentDirectory() available. This commit fixes the problem by setting the proper information on CTest script instances of cmMakefile. This also makes CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR available to CTest scripts. They are set to the working directory at script startup.
* BUG: Do not double-initialize local generatorsBrad King2009-07-282-2/+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.
* ENH: add test times and a total time to the output of command line ctestBill Hoffman2009-07-271-8/+23
|
* ENH: fix warningBill Hoffman2009-07-191-1/+1
|