From a5f83fb66eb10d20f47a56da74c67bd7b3dda8df Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Mon, 28 May 2018 18:22:54 +0200 Subject: [PATCH] QmlProfiler: Suppress debug message in test The application is expected to fail after the transition to "Starting" there. Change-Id: I61e69df73ca9db82b9649727b69800927b1c16c5 Reviewed-by: Christian Kandeler --- src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp b/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp index 2181dfbd338..a4721bf4500 100644 --- a/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp +++ b/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp @@ -96,6 +96,9 @@ void LocalQmlProfilerRunnerTest::testRunner() connectRunner(); + QTest::ignoreMessage( + QtDebugMsg, "Invalid run control state transition from " + "\"RunControlState::Starting\" to \"RunControlState::Stopped\""); runControl->initiateStart(); QTRY_COMPARE_WITH_TIMEOUT(startCount, 1, 30000);