diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-07-15 16:03:33 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-08-14 13:13:23 -0700 |
commit | 3fbb45016610deba863630b20e95f60d2d49a487 (patch) | |
tree | 21018d74086a93434317f8b760b33f55a769a675 /run_unittests.py | |
parent | 38d588bc6e314d50b54313ffa9454416a00f05b5 (diff) | |
download | meson-3fbb45016610deba863630b20e95f60d2d49a487.zip meson-3fbb45016610deba863630b20e95f60d2d49a487.tar.gz meson-3fbb45016610deba863630b20e95f60d2d49a487.tar.bz2 |
environment: Detect dynamic linker class
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-x | run_unittests.py | 3 |
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) |