diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2013-11-11 10:13:11 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-11-11 11:17:30 +0100 |
commit | ec6d702417a28fe56f616f25f308c82dc17e2024 (patch) | |
tree | 83c1c7b8b95986026f93b895150d65930ebd304d /tests/auto/blackbox | |
parent | a0dd0a13db1004ca86cf257ebbd9c3e714da32ea (diff) | |
download | qbs-ec6d702417a28fe56f616f25f308c82dc17e2024.tar.gz |
fix assembly autotest for clang profiles
qbs.toolchain is a string list.
The old check only worked if toolchain consisted exactly of
the element "gcc".
Change-Id: Ic439261952035e7b465729b6b0710ac9198c98b8
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'tests/auto/blackbox')
-rw-r--r-- | tests/auto/blackbox/tst_blackbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp index 4161a6d91..0700df165 100644 --- a/tests/auto/blackbox/tst_blackbox.cpp +++ b/tests/auto/blackbox/tst_blackbox.cpp @@ -1527,7 +1527,7 @@ void TestBlackbox::testAssembly() { SettingsPtr settings = qbsSettings(); Profile profile(buildProfileName, settings.data()); - bool haveGcc = profile.value("qbs.toolchain").toString().contains("gcc"); + bool haveGcc = profile.value("qbs.toolchain").toStringList().contains("gcc"); QDir::setCurrent(testDataDir + "/assembly"); QVERIFY(runQbs() == 0); QCOMPARE((bool)m_qbsStdout.contains("compiling testa.s"), haveGcc); |