forked from qt-creator/qt-creator
AutoTest: Fix pass/fail parsing on Windows
Chop \r Change-Id: Ibd1ce9025a681aefcdce0c01a842903fda8a8e30 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
committed by
Christian Stenger
parent
8850e163e3
commit
6062d3953d
@@ -336,6 +336,8 @@ void GTestOutputReader::processOutput()
|
||||
continue;
|
||||
}
|
||||
read.chop(1); // remove the newline from the output
|
||||
if (read.endsWith('\r'))
|
||||
read.chop(1);
|
||||
|
||||
const QString line = QString::fromLatin1(read);
|
||||
if (line.trimmed().isEmpty())
|
||||
|
||||
Reference in New Issue
Block a user