diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-10-16 09:42:59 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-11-13 09:00:35 -0800 |
commit | 6ce3812762405393d912ca8f222fa86cb2d6bed3 (patch) | |
tree | 2a9f6e73321e7f6a770c950f83891c1b12b99127 /run_unittests.py | |
parent | 86957cfc90161fa672043e6bcdd3ccb1de12436e (diff) | |
download | meson-6ce3812762405393d912ca8f222fa86cb2d6bed3.zip meson-6ce3812762405393d912ca8f222fa86cb2d6bed3.tar.gz meson-6ce3812762405393d912ca8f222fa86cb2d6bed3.tar.bz2 |
environment: Fix detection of rust compilers, more
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 0e8d62c..7f7df36 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -7360,8 +7360,9 @@ class LinuxlikeTests(BasePlatformTests): self._check_ld('ld.lld', 'lld', 'c', 'ld.lld') @skip_if_not_language('rust') + @skipIfNoExecutable('ld.gold') # need an additional check here because _check_ld checks for gcc def test_ld_environment_variable_rust(self): - self._check_ld('ld.gold', 'gold', 'rust', 'ld.gold') + self._check_ld('gcc', 'gcc -fuse-ld=gold', 'rust', 'ld.gold') def test_ld_environment_variable_cpp(self): self._check_ld('ld.gold', 'gold', 'cpp', 'ld.gold') |