summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-01-29 18:22:55 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2020-01-29 18:22:55 +0200
commit778331618ebf1582d12b2a0782d6c36a59af411d (patch)
tree43c799bb7730e3d1f2a2f34b7754a5790c4a64d4
parentd0c7b5169303fb0a394201d90be1e74426d7b2d9 (diff)
downloadmeson-skipmissings.tar.gz
Skip ld tests if no compiler installed.skipmissings
Fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950020
-rwxr-xr-xrun_unittests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/run_unittests.py b/run_unittests.py
index ff9dbd673..96dcf0ef8 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -5986,6 +5986,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')
@@ -5998,6 +5999,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')