summaryrefslogtreecommitdiff
path: root/tests/auto/blackbox
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2021-09-20 22:16:56 +0300
committerIvan Komissarov <ABBAPOH@gmail.com>2021-09-21 12:01:28 +0000
commite89b1fffcc0a1389ea0145d00b9ef246cb7eafd8 (patch)
treeb10b99ed4032db19becf20111409f22a103350cd /tests/auto/blackbox
parentc64a1bb9411d1d2cf5e4e04b295f701b39ed096c (diff)
downloadqbs-e89b1fffcc0a1389ea0145d00b9ef246cb7eafd8.tar.gz
freebsd: fix TestBlackbox::removeDuplicateLibraries
FreeBSD uses the LLVM linker these days, so we need to check that similar as we do on macOS Change-Id: I28b8aa0743173b20caa8932f942b59dd369d686a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/blackbox')
-rw-r--r--tests/auto/blackbox/testdata/remove-duplicate-libs/remove-duplicate-libs.qbs3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/blackbox/testdata/remove-duplicate-libs/remove-duplicate-libs.qbs b/tests/auto/blackbox/testdata/remove-duplicate-libs/remove-duplicate-libs.qbs
index 4ffb8d0e2..a6b97bad2 100644
--- a/tests/auto/blackbox/testdata/remove-duplicate-libs/remove-duplicate-libs.qbs
+++ b/tests/auto/blackbox/testdata/remove-duplicate-libs/remove-duplicate-libs.qbs
@@ -4,8 +4,9 @@ Project {
property bool removeDuplicates
property string libDir: buildDirectory + "/lib"
property bool dummy: {
+ // most BSD systems (including macOS) use LLVM linker now
console.info("is bfd linker: "
- + (qbs.toolchain.contains("gcc") && !qbs.hostOS.contains("macos")))
+ + (qbs.toolchain.contains("gcc") && !qbs.hostOS.contains("bsd")))
}
qbsSearchPaths: "."