aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
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)