forked from qt-creator/qt-creator
Use the same regex pattern for Autotest and QtSupport
Change-Id: I67e969da2b785ceeb501ec0bb61d67b8f973edca Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
committed by
André Hartmann
parent
dd366b68de
commit
3cc6db090f
@@ -27,6 +27,7 @@
|
||||
#include "qttestresult.h"
|
||||
#include "../testtreeitem.h"
|
||||
|
||||
#include <qtsupport/qtoutputformatter.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QDir>
|
||||
@@ -355,8 +356,8 @@ void QtTestOutputReader::processPlainTextOutput(const QByteArray &outputLineWith
|
||||
"|INFO |QWARN |WARNING|QDEBUG |QSYSTEM): (.*)$");
|
||||
|
||||
static QRegExp benchDetails("^\\s+([\\d,.]+ .* per iteration \\(total: [\\d,.]+, iterations: \\d+\\))$");
|
||||
static QRegExp locationUnix("^ Loc: \\[(.*)\\]$");
|
||||
static QRegExp locationWin("^(.*\\(\\d+\\)) : failure location$");
|
||||
static QRegExp locationUnix(QT_TEST_FAIL_UNIX_REGEXP);
|
||||
static QRegExp locationWin(QT_TEST_FAIL_WIN_REGEXP);
|
||||
|
||||
if (m_futureInterface.isCanceled())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user