aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlplugindump
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2018-09-21 10:49:48 +0200
committerKai Koehne <kai.koehne@qt.io>2018-10-09 07:50:19 +0000
commitbcaa140616eaaf0b6e27f1a2c0f88496cfd06c41 (patch)
treed2966b500d90d14ed412bd2d4ad1edc0dda56b77 /tests/auto/qml/qmlplugindump
parent783c40a59013123f230663743577f6c542f142c7 (diff)
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 <marco.benelli@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlplugindump')
-rw-r--r--tests/auto/qml/qmlplugindump/qmlplugindump.pro2
-rw-r--r--tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp2
2 files changed, 3 insertions, 1 deletions
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()));