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 <christian.kandeler@qt.io>
This commit is contained in:
Ulf Hermann
2016-07-26 08:21:37 +02:00
parent 4afb97f1af
commit dd3fa30212

View File

@@ -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);