diff options
Diffstat (limited to 'test/Fortran/F90COMSTR.py')
-rw-r--r-- | test/Fortran/F90COMSTR.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Fortran/F90COMSTR.py b/test/Fortran/F90COMSTR.py index e2e3cf5..27fd332 100644 --- a/test/Fortran/F90COMSTR.py +++ b/test/Fortran/F90COMSTR.py @@ -45,12 +45,11 @@ for l in filter(lambda l, fl=fline: l != fl, infile.readlines()): sys.exit(0) """) -if os.path.normcase('.f') == os.path.normcase('.F'): +if not TestSCons.case_sensitive_suffixes('.f','.F'): f90pp = 'f90' else: f90pp = 'f90pp' - test.write('SConstruct', """ env = Environment(F90COM = r'%(_python_)s myfc.py f90 $TARGET $SOURCES', F90COMSTR = 'Building f90 $TARGET from $SOURCES', |