Correctly find lfortran for Elbrus compiler

pull/5284/head
makise-homura 5 years ago
parent 29267b7716
commit 94b7ff3823
  1. 6
      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'):

Loading…
Cancel
Save