aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-06-22 17:22:53 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-06-25 08:25:41 +0000
commit10c7da071f1dcf2f3fcc7b1c970b3cff7f376a65 (patch)
treea4e4ee80169aba90d795671e3724c07c1b18b778
parent841b23fc51eb0961bdc1feabbe7d575fad220362 (diff)
Fix the exportsQbs autotest for mingw
Fun fact: If the file path you pass to the linker via -o does not contain a dot, then mingw will append ".exe". Change-Id: I4a4133c99fc63fd91e47c905ca902d3eb26b1146 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--tests/auto/blackbox/tst_blackbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp
index f9033ed09..8c8c0107e 100644
--- a/tests/auto/blackbox/tst_blackbox.cpp
+++ b/tests/auto/blackbox/tst_blackbox.cpp
@@ -3450,7 +3450,7 @@ void TestBlackbox::exportsQbs()
// Changing a setting that influences the name of a target artifact should cause
// recreating the module file.
const QbsRunParameters resolveParams("resolve", QStringList{"-f", "exports-qbs.qbs",
- "modules.cpp.dynamicLibrarySuffix:blubb"});
+ "modules.cpp.dynamicLibrarySuffix:.blubb"});
QCOMPARE(runQbs(resolveParams), 0);
QCOMPARE(runQbs(), 0);
QVERIFY2(m_qbsStdout.count("linking") >= 2, m_qbsStdout.constData());