diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-01-29 18:22:55 +0200 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-01-29 09:16:36 -0800 |
commit | 15ab30383ecc3fe124f3aed8aa5b9ddb1b5bbbc7 (patch) | |
tree | 8e307eadda2ef1770a77e04ef59dea0393590386 | |
parent | 32240d4276cd47172f250579b2560fd1438479f2 (diff) | |
download | meson-15ab30383ecc3fe124f3aed8aa5b9ddb1b5bbbc7.zip meson-15ab30383ecc3fe124f3aed8aa5b9ddb1b5bbbc7.tar.gz meson-15ab30383ecc3fe124f3aed8aa5b9ddb1b5bbbc7.tar.bz2 |
Skip ld tests if no compiler installed.
Fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950020
-rwxr-xr-x | run_unittests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py index a750b81..4c1d4b5 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -6013,6 +6013,7 @@ c = ['{0}'] def test_ld_environment_variable_lld(self): self._check_ld('ld.lld', 'lld', 'c', 'lld') + @skipIfNoExecutable('rustc') def test_ld_environment_variable_rust(self): self._check_ld('ld.gold', 'gold', 'rust', 'GNU ld.gold') @@ -6025,6 +6026,7 @@ c = ['{0}'] def test_ld_environment_variable_objcpp(self): self._check_ld('ld.gold', 'gold', 'objcpp', 'GNU ld.gold') + @skipIfNoExecutable('gfortran') def test_ld_environment_variable_fortran(self): self._check_ld('ld.gold', 'gold', 'fortran', 'GNU ld.gold') |