forked from qt-creator/qt-creator
OutputFormatter: Do not ignore DebugFormat
On Windows applications may print to the Windows internal debug console. This output is retrieved and passed around as DebugFormat as it is impossible to guess whether stdout or stderr had been used when printing. But output in DebugFormat had been ignored so far - fix this and handle this as inside the Qt test parser. Fixes: QTCREATORBUG-24560 Change-Id: Ic5e3723c3e3e47556264e4c5cf719706ee7eaf1c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -49,7 +49,7 @@ namespace Internal {
|
||||
|
||||
OutputLineParser::Result QtTestParser::handleLine(const QString &line, OutputFormat type)
|
||||
{
|
||||
if (type != StdOutFormat)
|
||||
if (type != StdOutFormat && type != DebugFormat)
|
||||
return Status::NotHandled;
|
||||
|
||||
const QString theLine = rightTrimmed(line);
|
||||
|
||||
Reference in New Issue
Block a user