diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-01-27 13:57:21 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-01-27 20:57:21 +0200 |
commit | 8636f31d9c6f44a19cca0622b5478fa6202c1334 (patch) | |
tree | 1820a754596d15c59cdd48da16b92a828f358428 /run_unittests.py | |
parent | 3fc8a0dc41622850dc6a50debff3f27b7c080a51 (diff) | |
download | meson-8636f31d9c6f44a19cca0622b5478fa6202c1334.zip meson-8636f31d9c6f44a19cca0622b5478fa6202c1334.tar.gz meson-8636f31d9c6f44a19cca0622b5478fa6202c1334.tar.bz2 |
BUGFIX: broken/missing Fortran code/unit tests
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 abedf4a..34a9a95 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -5304,11 +5304,15 @@ class NativeFileTests(BasePlatformTests): if comp.id == 'gcc': if shutil.which('ifort'): return 'ifort', 'intel' + elif shutil.which('flang'): + return 'flang', 'flang' + elif shutil.which('pgfortran'): + return 'pgfortran', 'pgi' # XXX: there are several other fortran compilers meson # supports, but I don't have any of them to test with raise unittest.SkipTest('No alternate Fortran implementation.') if not shutil.which('gfortran'): - raise unittest.SkipTest('No alternate C# implementation.') + raise unittest.SkipTest('No alternate Fortran implementation.') return 'gfortran', 'gcc' self.helper_for_compiler('fortran', cb) |