forked from qt-creator/qt-creator
AutoTest: Fix wrong handling of gtest output
Task-number: QTCREATORBUG-19912 Change-Id: I23b47fb6ac2e54f0b9980da8c68c41d3ce7d9511 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -65,7 +65,7 @@ void GTestOutputReader::processOutput(const QByteArray &outputLine)
|
|||||||
static QRegExp testEnds("^\\[-{10}\\] \\d+ tests? from (.*) \\((.*)\\)$");
|
static QRegExp testEnds("^\\[-{10}\\] \\d+ tests? from (.*) \\((.*)\\)$");
|
||||||
static QRegExp newTestSetStarts("^\\[ RUN \\] (.*)$");
|
static QRegExp newTestSetStarts("^\\[ RUN \\] (.*)$");
|
||||||
static QRegExp testSetSuccess("^\\[ OK \\] (.*) \\((.*)\\)$");
|
static QRegExp testSetSuccess("^\\[ OK \\] (.*) \\((.*)\\)$");
|
||||||
static QRegExp testSetFail("^\\[ FAILED \\] (.*) \\((.*)\\)$");
|
static QRegExp testSetFail("^\\[ FAILED \\] (.*) \\((\\d+ ms)\\)$");
|
||||||
static QRegExp disabledTests("^ YOU HAVE (\\d+) DISABLED TESTS?$");
|
static QRegExp disabledTests("^ YOU HAVE (\\d+) DISABLED TESTS?$");
|
||||||
static QRegExp failureLocation("^(.*):(\\d+): Failure$");
|
static QRegExp failureLocation("^(.*):(\\d+): Failure$");
|
||||||
static QRegExp errorLocation("^(.*)\\((\\d+)\\): error:.*$");
|
static QRegExp errorLocation("^(.*)\\((\\d+)\\): error:.*$");
|
||||||
|
|||||||
Reference in New Issue
Block a user