aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-01-14 15:37:51 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-01-14 15:09:03 +0000
commit1fc0f0152ed461a1048f2b1a7549ab68104dd806 (patch)
treebc43ee0e67a02df81a738c723db42301421c92e9 /tests
parent893b4dc56c7e2ef21f4e253ccbbb20643d18cadf (diff)
Fix build
Amends 893b4dc56c. Change-Id: If4e5216bf24c97773c3c58983e3d4caccaac70ff Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'tests')
-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 88e1aa5ec..6c013d918 100644
--- a/tests/auto/blackbox/tst_blackboxqt.cpp
+++ b/tests/auto/blackbox/tst_blackboxqt.cpp
@@ -167,7 +167,7 @@ void TestBlackboxQt::linkerVariant()
const bool goldRequired = m_qbsStdout.contains("Qt requires gold: true");
const bool goldNotRequired = m_qbsStdout.contains("Qt requires gold: false");
QVERIFY2(goldRequired != goldNotRequired, m_qbsStdout.constData());
- QCOMPARE(m_qbsStdout.contains("-fuse-ld=gold"), goldRequired ? 1 : 0);
+ QCOMPARE(m_qbsStdout.contains("-fuse-ld=gold"), goldRequired);
}
void TestBlackboxQt::lrelease()