aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/tst_blackboxqt.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-06-12 12:17:03 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2017-06-12 12:18:03 +0000
commitee0ead13179534c8bfcce28e43d5ab47104455ad (patch)
tree6432434de182ca960c5c9d69a0f04977505cca5e /tests/auto/blackbox/tst_blackboxqt.cpp
parent5ba4fd79ae13fec9c615d4c3892e70b72ed26a99 (diff)
Autotests: Improve the QbsRunParameters class
Add dedicated properties for profile and settings path, rather than test functions having to meddle with the arguments list themselves. Change-Id: Icf58e31174ad15f42aee2eabd8578c20b7d517fa Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/blackbox/tst_blackboxqt.cpp')
-rw-r--r--tests/auto/blackbox/tst_blackboxqt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/blackbox/tst_blackboxqt.cpp b/tests/auto/blackbox/tst_blackboxqt.cpp
index 377bf06c5..8bf892fb0 100644
--- a/tests/auto/blackbox/tst_blackboxqt.cpp
+++ b/tests/auto/blackbox/tst_blackboxqt.cpp
@@ -92,7 +92,7 @@ void TestBlackboxQt::createProject()
QVERIFY(QFile::copy(SRCDIR "/../../../examples/helloworld-qt/main.cpp",
QDir::currentPath() + "/main.cpp"));
QbsRunParameters createParams("create-project");
- createParams.useProfile = false;
+ createParams.profile.clear();
QCOMPARE(runQbs(createParams), 0);
createParams.expectFailure = true;
QVERIFY(runQbs(createParams) != 0);