summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/MocCMP0071
Commit message (Expand)AuthorAgeFilesLines
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-0/+1
* Autogen: Tests: Differentiate between Qt core and Qt gui testsSebastian Holtermann2018-11-281-1/+1
* Autogen: Tests: Separate MocCMP0071 testSebastian Holtermann2017-12-137-0/+100
git/CMake.git/diff/?h=v3.26.0&id=6a7eae718457e8ad9a91729f4c02a666e6ceba98&id2=b6c26cded2965d566ad1ad874f9dac146af4ceac'>diff)downloadCMake-6a7eae718457e8ad9a91729f4c02a666e6ceba98.zip
CMake-6a7eae718457e8ad9a91729f4c02a666e6ceba98.tar.gz
CMake-6a7eae718457e8ad9a91729f4c02a666e6ceba98.tar.bz2
Rewrite CTest child output handling
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.