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:
Christian Stenger
2018-02-23 13:34:03 +01:00
parent 8235ed457c
commit f60641f3d3

View File

@@ -65,7 +65,7 @@ void GTestOutputReader::processOutput(const QByteArray &outputLine)
static QRegExp testEnds("^\\[-{10}\\] \\d+ tests? from (.*) \\((.*)\\)$");
static QRegExp newTestSetStarts("^\\[ RUN \\] (.*)$");
static QRegExp testSetSuccess("^\\[ OK \\] (.*) \\((.*)\\)$");
static QRegExp testSetFail("^\\[ FAILED \\] (.*) \\((.*)\\)$");
static QRegExp testSetFail("^\\[ FAILED \\] (.*) \\((\\d+ ms)\\)$");
static QRegExp disabledTests("^ YOU HAVE (\\d+) DISABLED TESTS?$");
static QRegExp failureLocation("^(.*):(\\d+): Failure$");
static QRegExp errorLocation("^(.*)\\((\\d+)\\): error:.*$");