aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/tst_blackboxapple.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/tst_blackboxapple.cpp')
-rw-r--r--tests/auto/blackbox/tst_blackboxapple.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackboxapple.cpp b/tests/auto/blackbox/tst_blackboxapple.cpp
index 6fc526cd8..c08cc9759 100644
--- a/tests/auto/blackbox/tst_blackboxapple.cpp
+++ b/tests/auto/blackbox/tst_blackboxapple.cpp
@@ -145,6 +145,20 @@ void TestBlackboxApple::appleMultiConfig()
}
}
+void TestBlackboxApple::aggregateDependencyLinking()
+{
+ if (HostOsInfo::hostOsVersion() > qbs::Version(10, 13, 4))
+ QSKIP("32-bit arch build is no longer supported on macOS versions higher than 10.13.4.");
+
+ QDir::setCurrent(testDataDir + "/aggregateDependencyLinking");
+ QCOMPARE(runQbs(QStringList{"-p", "multi_arch_lib"}), 0);
+
+ QCOMPARE(runQbs(QStringList{"-p", "just_app", "--command-echo-mode", "command-line"}), 0);
+ int linkedInLibrariesCount =
+ QString::fromUtf8(m_qbsStdout).count(QStringLiteral("multi_arch_lib.a"));
+ QCOMPARE(linkedInLibrariesCount, 1);
+}
+
void TestBlackboxApple::assetCatalog()
{
QFETCH(bool, flatten);