forked from qt-creator/qt-creator
AutoTest: Handle qCritical also for text based output
Task-number: QTCREATORBUG-19795 Change-Id: I0bbfecd4002df1958a3fc5cd795e193b1cb83cbd Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -326,7 +326,7 @@ void QtTestOutputReader::processPlainTextOutput(const QByteArray &outputLine)
|
||||
static QRegExp finish("^[*]{9} Finished testing of (.*) [*]{9}$");
|
||||
|
||||
static QRegExp result("^(PASS |FAIL! |XFAIL |XPASS |SKIP |BPASS |BFAIL |RESULT "
|
||||
"|INFO |QWARN |WARNING|QDEBUG ): (.*)$");
|
||||
"|INFO |QWARN |WARNING|QDEBUG |QSYSTEM): (.*)$");
|
||||
|
||||
static QRegExp benchDetails("^\\s+([\\d,.]+ .* per iteration \\(total: [\\d,.]+, iterations: \\d+\\))$");
|
||||
static QRegExp locationUnix("^ Loc: \\[(.*)\\]$");
|
||||
|
||||
@@ -85,7 +85,7 @@ Result::Type TestResult::resultFromString(const QString &resultString)
|
||||
return Result::MessageWarn;
|
||||
if (resultString == "qfatal")
|
||||
return Result::MessageFatal;
|
||||
if (resultString == "system")
|
||||
if ((resultString == "system") || (resultString == "qsystem"))
|
||||
return Result::MessageSystem;
|
||||
if (resultString == "bpass")
|
||||
return Result::BlacklistedPass;
|
||||
|
||||
Reference in New Issue
Block a user