summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmProcess.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace from most CMake and C/C++ codeKitware Robot2012-08-131-2/+2
| | | | | | | | | | | | | | | | | Our Git commit hooks disallow modification or addition of lines with trailing whitespace. Wipe out all remnants of trailing whitespace everywhere except third-party code. Run the following shell code: git ls-files -z -- \ bootstrap doxygen.config '*.readme' \ '*.c' '*.cmake' '*.cpp' '*.cxx' \ '*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \ '*.mm' '*.pike' '*.py' '*.txt' '*.vim' | egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' | egrep -z -v '^(Modules/CPack\..*\.in)' | xargs -0 sed -i 's/ \+$//'
* Fix for bug #10859, ctest exit exception incorrectly reported.Bill Hoffman2010-06-221-1/+1
| | | | | CTest was using the return value from the program instead of the exit exception value for the process.
* 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.
* Rewrite CTest child output handlingBrad King2009-09-111-10/+23
| | | | | | | | | | | | | | 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 issue where ctest would hang if a process terminated with output ↵Zach Mullen2009-09-081-3/+3
| | | | in its buffers but no newline
* Fixed ctest output processing. Should now display output as it occurs, as ↵Zach Mullen2009-09-041-2/+3
| | | | 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-3/+2
| | | | uninitialized variables in the case that the test process could not start.
* Output total time when using -j NBill Hoffman2009-08-121-0/+1
|
* ENH: add start end time for procsBill Hoffman2008-12-291-0/+2
|
* ENH: fix for old hp compilerBill Hoffman2008-07-031-4/+2
|
* ENH: add missing fileBill Hoffman2008-07-031-0/+73