Commit dd3fa302 authored by Ulf Hermann's avatar Ulf Hermann

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's avatarChristian Kandeler <christian.kandeler@qt.io>
parent 4afb97f1
...@@ -105,9 +105,6 @@ void LocalQmlProfilerRunnerTest::testRunner() ...@@ -105,9 +105,6 @@ void LocalQmlProfilerRunnerTest::testRunner()
rc->start(); rc->start();
QTRY_COMPARE_WITH_TIMEOUT(runCount, 3, 10000); QTRY_COMPARE_WITH_TIMEOUT(runCount, 3, 10000);
QTest::qWait(1000);
QVERIFY(running); // verify it doesn't spontaneously stop
rc->stop(); rc->stop();
QTRY_VERIFY_WITH_TIMEOUT(!running, 10000); QTRY_VERIFY_WITH_TIMEOUT(!running, 10000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment