summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestRunTest.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Fix uninitialized errors.Bill Hoffman2009-09-161-0/+7
|
* Removed fork-and-continue option from ctest generated batch script entriesZach Mullen2009-09-141-1/+0
|
* Rewrite CTest child output handlingBrad King2009-09-111-43/+22
| | | | | | | | | | | | | | 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-111-7/+3
| | | | | | All instances of this class need a cmCTestTestHandler, so we now require one to construct it. The instance also provides the cmCTest instance too.
* BUG: Fixed segfault and bad reporting if a ctest executable could not be ↵Zach Mullen2009-09-101-17/+14
| | | | found. Also added some batch testing code that is not yet complete.
* BUG: Fixed issue where ctest would hang if a process terminated with output ↵Zach Mullen2009-09-081-3/+8
| | | | in its buffers but no newline
* ENH: Added ctest test options PROCESSORS and RUN_SERIAL. These allow ↵Zach Mullen2009-09-071-1/+1
| | | | 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.
* Fixed ctest output processing. Should now display output as it occurs, as ↵Zach Mullen2009-09-041-15/+25
| | | | well as be able to consume multiple lines if they exist within the timeout.
* Allowed tests to pull more than one line of output in their quantum. Fixed ↵Zach Mullen2009-09-031-20/+34
| | | | uninitialized variables in the case that the test process could not start.
* ENH: Added PARALLEL_LEVEL option for ctest_memcheck(). Added PROCESSORS ↵Zach Mullen2009-09-031-1/+1
| | | | option to set_tests_properties (implementation to come).
* Fixed ctest output where max test index is not the same width as the total ↵Zach Mullen2009-09-021-12/+5
| | | | number of tests. Also some preliminary changes for batching ctest jobs
* ENH: Improved test reporting outputZach Mullen2009-09-011-8/+14
|
* Fixed conversion warning on 64 bit machinesZach Mullen2009-08-311-2/+2
|
* Fixed line length issueZach Mullen2009-08-301-1/+2
|
* MemCheck should now work again in ctestZach Mullen2009-08-281-13/+54
|
* Replaced std::stringstream with cmOStringStreamZach Mullen2009-08-281-1/+1
|
* Added ctest -N test. Fixed ctest working directory bug. MemCheck fix ↵Zach Mullen2009-08-281-56/+52
| | | | coming soon...
* Fixed ctest -N segfault issue. Further refactored ctest. Enabled failover ↵Zach Mullen2009-08-271-112/+98
| | | | for ctest
* ENH: refactored ctest. All testing is now parallel. If no -j option is ↵Zach Mullen2009-08-261-283/+198
| | | | specified, defaults to a MP level of 1 (non parallel)
* Fixed line length over 80Zach Mullen2009-08-201-5/+6
|
* ENH: Refactored CTest test execution code into an objectZach Mullen2009-08-191-0/+547