Correctly find lfortran for Elbrus compiler
This commit is contained in:
parent
29267b7716
commit
94b7ff3823
|
@ -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'):
|
||||
|
|
Loading…
Reference in New Issue