forked from qt-creator/qt-creator
Autotest: Fix plain text parsing for BFAIL/BPASS
All these outputs in incidentType2String() [1] are seven characters long. [1] http://code.qt.io/cgit/qt/qtbase.git/tree/src/testlib/qplaintestlogger.cpp#n77 Change-Id: I840b4c83fedcece5b213cad82d4fd660c7f927bc Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
André Hartmann
parent
cad9da05fd
commit
8b5b12c381
@@ -352,7 +352,7 @@ void QtTestOutputReader::processPlainTextOutput(const QByteArray &outputLineWith
|
|||||||
static QRegExp summary("^Totals: \\d+ passed, \\d+ failed, \\d+ skipped(, \\d+ blacklisted)?$");
|
static QRegExp summary("^Totals: \\d+ passed, \\d+ failed, \\d+ skipped(, \\d+ blacklisted)?$");
|
||||||
static QRegExp finish("^[*]{9} Finished testing of (.*) [*]{9}$");
|
static QRegExp finish("^[*]{9} Finished testing of (.*) [*]{9}$");
|
||||||
|
|
||||||
static QRegExp result("^(PASS |FAIL! |XFAIL |XPASS |SKIP |BPASS |BFAIL |RESULT "
|
static QRegExp result("^(PASS |FAIL! |XFAIL |XPASS |SKIP |BPASS |BFAIL |RESULT "
|
||||||
"|INFO |QWARN |WARNING|QDEBUG |QSYSTEM): (.*)$");
|
"|INFO |QWARN |WARNING|QDEBUG |QSYSTEM): (.*)$");
|
||||||
|
|
||||||
static QRegExp benchDetails("^\\s+([\\d,.]+ .* per iteration \\(total: [\\d,.]+, iterations: \\d+\\))$");
|
static QRegExp benchDetails("^\\s+([\\d,.]+ .* per iteration \\(total: [\\d,.]+, iterations: \\d+\\))$");
|
||||||
|
Reference in New Issue
Block a user