summaryrefslogtreecommitdiffstats
path: root/test/Fortran/F03FLAGS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Fortran/F03FLAGS.py')
-rw-r--r--test/Fortran/F03FLAGS.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/Fortran/F03FLAGS.py b/test/Fortran/F03FLAGS.py
index b11b780..4e99db8 100644
--- a/test/Fortran/F03FLAGS.py
+++ b/test/Fortran/F03FLAGS.py
@@ -103,12 +103,7 @@ g03 = test.detect_tool(fc)
if g03:
- 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(F03 = '%(fc)s')