summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmProcess.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Fix for bug #10859, ctest exit exception incorrectly reported.Bill Hoffman2010-06-221-0/+6
| | | | | CTest was using the return value from the program instead of the exit exception value for the process.
* BUG: We shouldn't be setting the HideWindow option on the test processes we ↵Zach Mullen2010-02-191-1/+0
| | | | create.
* Handle multiple carriage return issue on windows VS9. Also make sure that ↵Zach Mullen2009-11-161-1/+4
| | | | running ctest in showonly mode does not kill our cost store, since many ctest tests do this and corrupt our cost data.
* 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.
* Avoid shadowing std::vector memberBrad King2009-09-121-3/+3
| | | | | | The cmProcess::Buffer class derives from std::vector. We were using local variable 'data' in the GetLine method but this name shadowed a member of vector with GNU. This renames it to 'text'.
* 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.
* Rewrite CTest child output handlingBrad King2009-09-111-145/+83
| | | | | | | | | | | | | | 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.
* BUG: Fixed extraneous newlines from ctest process outputZach Mullen2009-09-081-20/+25
|
* BUG: Fixed issue where ctest would hang if a process terminated with output ↵Zach Mullen2009-09-081-6/+28
| | | | in its buffers but no newline
* Fixed ctest output processing. Should now display output as it occurs, as ↵Zach Mullen2009-09-041-14/+18
| | | | well as be able to consume multiple lines if they exist within the timeout.
* 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-041-0/+5
| | | | 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-031-54/+51
| | | | uninitialized variables in the case that the test process could not start.
* ENH: fix return value to ctest_build and remove debug print in cmProcessBill Hoffman2009-01-141-1/+1
|
* ENH: allow ctest_build to return error and warning countsBill Hoffman2009-01-141-1/+1
|
* ENH: add start end time for procsBill Hoffman2008-12-291-0/+4
|
* STYLE: fix line length issuesBill Hoffman2008-10-021-7/+11
|
* ENH: one more fix for hpBill Hoffman2008-07-031-1/+0
|
* ENH: add missing fileBill Hoffman2008-07-031-0/+288