summaryrefslogtreecommitdiffstats
path: root/test/Fortran/F77.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Fortran/F77.py')
-rw-r--r--test/Fortran/F77.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/Fortran/F77.py b/test/Fortran/F77.py
index 300df85..8fdd391 100644
--- a/test/Fortran/F77.py
+++ b/test/Fortran/F77.py
@@ -94,12 +94,7 @@ f77 = test.detect_tool(fc)
if f77:
- test.write("wrapper.py",
-"""import os
-import sys
-open('%s', 'wb').write("wrapper.py\\n")
-os.system(" ".join(sys.argv[1:]))
-""" % test.workpath('wrapper.out').replace('\\', '\\\\'))
+ test.file_fixture('wrapper.py')
test.write('SConstruct', """
foo = Environment(F77 = '%(fc)s', tools = ['default', 'f77'], F77FILESUFFIXES = ['.f'])