forked from qt-creator/qt-creator
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user