aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-07-15 16:03:33 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-08-14 13:13:23 -0700
commit3fbb45016610deba863630b20e95f60d2d49a487 (patch)
tree21018d74086a93434317f8b760b33f55a769a675 /run_unittests.py
parent38d588bc6e314d50b54313ffa9454416a00f05b5 (diff)
downloadmeson-3fbb45016610deba863630b20e95f60d2d49a487.zip
meson-3fbb45016610deba863630b20e95f60d2d49a487.tar.gz
meson-3fbb45016610deba863630b20e95f60d2d49a487.tar.bz2
environment: Detect dynamic linker class
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index b7bcb88..09b6e00 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -6224,7 +6224,8 @@ class NativeFileTests(BasePlatformTests):
@skip_if_not_language('swift')
def test_swift_compiler(self):
wrapper = self.helper_create_binary_wrapper(
- 'swiftc', version='Swift 1.2345', outfile='stderr')
+ 'swiftc', version='Swift 1.2345', outfile='stderr',
+ extra_args={'Xlinker': 'macosx_version. PROJECT:ld - 1.2.3'})
env = get_fake_env()
env.binaries.host.binaries['swift'] = wrapper
compiler = env.detect_swift_compiler(MachineChoice.HOST)