From 10c7da071f1dcf2f3fcc7b1c970b3cff7f376a65 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Fri, 22 Jun 2018 17:22:53 +0200 Subject: 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 --- tests/auto/blackbox/tst_blackbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3