From bcaa140616eaaf0b6e27f1a2c0f88496cfd06c41 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Fri, 21 Sep 2018 10:49:48 +0200 Subject: Fix qmlplugindump autotest Also add CONFIG += testcase in the hope that this will let the CI also run the autotest. Change-Id: I8c048f37886ce898df8f408b492e4c0e7e8dced9 Reviewed-by: Marco Benelli --- tests/auto/qml/qmlplugindump/qmlplugindump.pro | 2 ++ tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/auto/qml/qmlplugindump/qmlplugindump.pro b/tests/auto/qml/qmlplugindump/qmlplugindump.pro index ab915c819c..be0a0a49b6 100644 --- a/tests/auto/qml/qmlplugindump/qmlplugindump.pro +++ b/tests/auto/qml/qmlplugindump/qmlplugindump.pro @@ -1,6 +1,8 @@ QT += testlib gui-private qml macx:CONFIG -= app_bundle +CONFIG += testcase + include(../../shared/util.pri) DEFINES += QT_QMLTEST_DIR=\\\"$${_PRO_FILE_PWD_}\\\" diff --git a/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp b/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp index ffddc52f9c..67a189cf5d 100644 --- a/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp +++ b/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp @@ -105,7 +105,7 @@ void tst_qmlplugindump::singleton() { QProcess dumper; QStringList args; - args << QLatin1String("tests.dumper.CompositeSingleton") << QLatin1String("1.0") + args << QLatin1String("data.dumper.CompositeSingleton") << QLatin1String("1.0") << QLatin1String(QT_QMLTEST_DIR); dumper.start(qmlplugindumpPath, args); QVERIFY2(dumper.waitForStarted(), qPrintable(dumper.errorString())); -- cgit v1.2.3