diff options
author | Brad King <brad.king@kitware.com> | 2015-06-03 12:47:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-06-03 12:47:49 (GMT) |
commit | 721b7e3e56f8a9e7f6daf1602dcc5cd85677fc84 (patch) | |
tree | 7fd3da24e72f4951b586e6515e9ae0e92155a9ca /Source/CTest/cmCTestRunTest.cxx | |
parent | d3bb5da9294ddbfcc5fddf7ba3dafd2c3e0b32b2 (diff) | |
download | CMake-721b7e3e56f8a9e7f6daf1602dcc5cd85677fc84.zip CMake-721b7e3e56f8a9e7f6daf1602dcc5cd85677fc84.tar.gz CMake-721b7e3e56f8a9e7f6daf1602dcc5cd85677fc84.tar.bz2 |
CTest: Capture test stdout/stderr through one pipe (#15600)
Use the KWSys Process "MergeOutput" option to give each test child
process the same pipe for both stdout and stderr. This allows natural
merging of stdout and stderr together instead of merging on arbitrary
buffered read boundaries as before.
Diffstat (limited to 'Source/CTest/cmCTestRunTest.cxx')
-rw-r--r-- | Source/CTest/cmCTestRunTest.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestRunTest.cxx b/Source/CTest/cmCTestRunTest.cxx index d9e4bd4..d108592 100644 --- a/Source/CTest/cmCTestRunTest.cxx +++ b/Source/CTest/cmCTestRunTest.cxx @@ -57,8 +57,7 @@ bool cmCTestRunTest::CheckOutput() // Process has terminated and all output read. return false; } - else if(p == cmsysProcess_Pipe_STDOUT || - p == cmsysProcess_Pipe_STDERR) + else if(p == cmsysProcess_Pipe_STDOUT) { // Store this line of output. cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, |