diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2020-04-24 12:06:12 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2020-04-24 11:03:13 +0000 |
commit | 977a1b75664d0ee186ee6e620e8384884bd205a0 (patch) | |
tree | b97058e5cea6906cb48798647825f715b0b31a53 | |
parent | 846fc574f38395af24a9e60726372cb56075cff4 (diff) |
Fix TestApi::localProfiles() for mingwv1.16.0
This test needed adaptation due to the change in d1ad96d31b.
Change-Id: Ie5a0f2bbc4c939494ab499971f0f54fa811cecd3
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r-- | tests/auto/api/tst_api.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/api/tst_api.cpp b/tests/auto/api/tst_api.cpp index ca2d657dd..36f30306f 100644 --- a/tests/auto/api/tst_api.cpp +++ b/tests/auto/api/tst_api.cpp @@ -1596,7 +1596,7 @@ void TestApi::localProfiles() QStringList({"mingw", "gcc"})); if (moduleProps.getModuleProperty("cpp", "present").toBool()) { QCOMPARE(moduleProps.getModuleProperty("cpp", "cxxCompilerName").toString(), - QString("g++")); + qbs::Internal::HostOsInfo::appendExecutableSuffix(QString("g++"))); } moduleProps = libClang.moduleProperties(); QCOMPARE(moduleProps.getModuleProperty("qbs", "targetOS").toStringList(), @@ -1605,7 +1605,7 @@ void TestApi::localProfiles() QStringList({"clang", "llvm", "gcc"})); if (moduleProps.getModuleProperty("cpp", "present").toBool()) { QCOMPARE(moduleProps.getModuleProperty("cpp", "cxxCompilerName").toString(), - QString("clang++")); + qbs::Internal::HostOsInfo::appendExecutableSuffix(QString("clang++"))); } moduleProps = appDebug.moduleProperties(); if (moduleProps.getModuleProperty("cpp", "present").toBool()) @@ -1642,7 +1642,7 @@ void TestApi::localProfiles() moduleProps = p.moduleProperties(); if (moduleProps.getModuleProperty("cpp", "present").toBool()) { QCOMPARE(moduleProps.getModuleProperty("cpp", "cxxCompilerName").toString(), - QString("g++")); + qbs::Internal::HostOsInfo::appendExecutableSuffix(QString("g++"))); } } } |