diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-04-20 14:18:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-20 14:18:27 +0300 |
commit | 5c85b5028080e74b3a74f9e0d63166c3c3ca15e6 (patch) | |
tree | dbf4c168c34a1b67fc2f107ebc6aba593a4c66e4 /run_unittests.py | |
parent | bf65660509bcea67b3a25477c89807a673248b08 (diff) | |
parent | 0ec71fff34b3a120b4a688e4dd79a64dd2b0f6a1 (diff) | |
download | meson-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-x | run_unittests.py | 6 |
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'): |