aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2017-09-07 16:12:51 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2017-09-08 08:01:36 +0000
commitb63bc868875d7571bc332804f984824cff7c5b78 (patch)
tree2d8fee95ea38c7015ff369d567d4159b99395c35
parent456cc50e01c083fafa4bf1e40389b343861d7c04 (diff)
Make tst_qmlplugindump run with shadow builds
Change-Id: I37914e0bcabd36e4974fd1e27001c3405d5e4cd9 Reviewed-by: Marco Benelli <marco.benelli@qt.io>
-rw-r--r--tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp b/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp
index 68e11e3551..31009e0182 100644
--- a/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp
+++ b/tests/auto/qml/qmlplugindump/tst_qmlplugindump.cpp
@@ -102,8 +102,9 @@ void tst_qmlplugindump::singleton()
{
QProcess dumper;
QStringList args;
+ auto dir = QFileInfo(QFINDTESTDATA("tests")).dir().path();
args << QLatin1String("tests.dumper.CompositeSingleton") << QLatin1String("1.0")
- << QLatin1String(".");
+ << dir;
dumper.start(qmlplugindumpPath, args);
QVERIFY2(dumper.waitForStarted(), qPrintable(dumper.errorString()));
QVERIFY2(dumper.waitForFinished(), qPrintable(dumper.errorString()));