forked from qt-creator/qt-creator
AutoTest: Tweak output handling
..to be able to distinguish between the output channels. Some test frameworks use the stderr stream for printing relevant output. This is a preparation for coloring the output correctly later on. Change-Id: I3bfea9e552bde3621df99611a124b4f2d3b7d1da Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -380,7 +380,7 @@ void BoostTestOutputReader::processStdError(const QByteArray &outputLine)
|
||||
{
|
||||
// we need to process the output, Boost UTF uses both out streams
|
||||
processOutputLine(outputLine);
|
||||
emit newOutputLineAvailable(outputLine);
|
||||
emit newOutputLineAvailable(outputLine, OutputChannel::StdErr);
|
||||
}
|
||||
|
||||
TestResultPtr BoostTestOutputReader::createDefaultResult() const
|
||||
|
||||
Reference in New Issue
Block a user