forked from qt-creator/qt-creator
QmlProfiler: Fix unit test execution
Adjust to changed message - otherwise we get millions
of fails on macOS. Amends 0f2febd784.
Change-Id: If9a4c453ae952e708c873c4b11f550aa6632bbd5
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -88,7 +88,7 @@ void QmlProfilerTraceClientTest::testMessageReceived()
|
||||
traceClient.clear();
|
||||
}, [this, &lastError](const QString &message) {
|
||||
QVERIFY(!message.isEmpty());
|
||||
if (lastError == QmlProfilerModelManager::tr("Read past end in temporary trace file")) {
|
||||
if (lastError == QmlProfilerModelManager::tr("Read past end in temporary trace file.")) {
|
||||
// Ignore read-past-end errors: Our test traces are somewhat dirty and don't end on
|
||||
// packet boundaries
|
||||
modelManager.clearAll();
|
||||
|
||||
Reference in New Issue
Block a user