From dd3fa3021201ef9805359e102fa664893c662fab Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Tue, 26 Jul 2016 08:21:37 +0200 Subject: [PATCH] QmlProfiler: The local runner can spontaneously stop an application If the application outputs the "QML debugging is disabled" line (and Qt Creator can read it), the QmlProfilerRunControl will kill the application. In the test this happens if Qt Creator was compiled without QML debugging enabled. Change-Id: I958a991d304ec9af8643e88dd9709f580a28753f Reviewed-by: Christian Kandeler --- src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp b/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp index 34d5aacdd1e..d6785f5f9b3 100644 --- a/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp +++ b/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp @@ -105,9 +105,6 @@ void LocalQmlProfilerRunnerTest::testRunner() rc->start(); QTRY_COMPARE_WITH_TIMEOUT(runCount, 3, 10000); - QTest::qWait(1000); - QVERIFY(running); // verify it doesn't spontaneously stop - rc->stop(); QTRY_VERIFY_WITH_TIMEOUT(!running, 10000);