From a8e5b9e509203a243535397688e5397119bc98a0 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 14 Jun 2018 08:25:39 +0200 Subject: [PATCH] QmlProfiler: Fix unit test execution Adjust to changed message - otherwise we get millions of fails on macOS. Amends 0f2febd7848787ac. Change-Id: If9a4c453ae952e708c873c4b11f550aa6632bbd5 Reviewed-by: hjk --- src/plugins/qmlprofiler/tests/qmlprofilertraceclient_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmlprofiler/tests/qmlprofilertraceclient_test.cpp b/src/plugins/qmlprofiler/tests/qmlprofilertraceclient_test.cpp index 32aa45a5272..d986939f8c4 100644 --- a/src/plugins/qmlprofiler/tests/qmlprofilertraceclient_test.cpp +++ b/src/plugins/qmlprofiler/tests/qmlprofilertraceclient_test.cpp @@ -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();