aboutsummaryrefslogtreecommitdiff
path: root/run_unittests.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-04-20 14:18:27 +0300
committerGitHub <noreply@github.com>2019-04-20 14:18:27 +0300
commit5c85b5028080e74b3a74f9e0d63166c3c3ca15e6 (patch)
treedbf4c168c34a1b67fc2f107ebc6aba593a4c66e4 /run_unittests.py
parentbf65660509bcea67b3a25477c89807a673248b08 (diff)
parent0ec71fff34b3a120b4a688e4dd79a64dd2b0f6a1 (diff)
downloadmeson-5c85b5028080e74b3a74f9e0d63166c3c3ca15e6.zip
meson-5c85b5028080e74b3a74f9e0d63166c3c3ca15e6.tar.gz
meson-5c85b5028080e74b3a74f9e0d63166c3c3ca15e6.tar.bz2
Merge pull request #5284 from makise-homura/update_lcc_support
Update lcc support
Diffstat (limited to 'run_unittests.py')
-rwxr-xr-xrun_unittests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/run_unittests.py b/run_unittests.py
index 316525d..faef00f 100755
--- a/run_unittests.py
+++ b/run_unittests.py
@@ -5841,7 +5841,11 @@ class NativeFileTests(BasePlatformTests):
@skip_if_env_set('FC')
def test_fortran_compiler(self):
def cb(comp):
- if comp.id == 'gcc':
+ if comp.id == 'lcc':
+ if shutil.which('lfortran'):
+ return 'lfortran', 'lcc'
+ raise unittest.SkipTest('No alternate Fortran implementation.')
+ elif comp.id == 'gcc':
if shutil.which('ifort'):
return 'ifort', 'intel'
elif shutil.which('flang'):