diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-03-09 13:01:44 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-03-09 13:38:53 +0000 |
commit | 28f5eee070da42bb18e43dc18af6f4494e1fd405 (patch) | |
tree | 2b406ac5a513a0de1f1403acbfb3476bed306994 /tests/auto/blackbox/tst_blackbox.cpp | |
parent | 2382a5e8e917013725977b37bbe227d9a19b1d39 (diff) |
Simplify the emptyProfile autotest
There is no need for a temporary settings dir: We have the special
"none" value for profiles.
Change-Id: I4a07053e81e94d999f3a6827c51b04d32725ffcb
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/blackbox/tst_blackbox.cpp')
-rw-r--r-- | tests/auto/blackbox/tst_blackbox.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp index 3ebbefbf4..6205a0ed1 100644 --- a/tests/auto/blackbox/tst_blackbox.cpp +++ b/tests/auto/blackbox/tst_blackbox.cpp @@ -3547,10 +3547,8 @@ void TestBlackbox::emptyProfile() const Profile buildProfile(profileName(), s.get()); const QStringList toolchain = profileToolchain(buildProfile); - QTemporaryDir tempDir; QbsRunParameters params; - params.profile.clear(); - params.settingsDir = tempDir.path(); // should be no settings here + params.profile = "none"; if (toolchain.contains(QLatin1String("clang-cl"))) params.arguments = QStringList{QStringLiteral("qbs.toolchainType:clang-cl")}; else if (toolchain.contains(QLatin1String("msvc"))) |