From 8636f31d9c6f44a19cca0622b5478fa6202c1334 Mon Sep 17 00:00:00 2001 From: "Michael Hirsch, Ph.D" Date: Sun, 27 Jan 2019 13:57:21 -0500 Subject: BUGFIX: broken/missing Fortran code/unit tests --- run_unittests.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'run_unittests.py') 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) -- cgit v1.1