From 15ab30383ecc3fe124f3aed8aa5b9ddb1b5bbbc7 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 29 Jan 2020 18:22:55 +0200 Subject: Skip ld tests if no compiler installed. Fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950020 --- run_unittests.py | 2 ++ 1 file changed, 2 insertions(+) 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') -- cgit v1.1