summaryrefslogtreecommitdiffstats
path: root/test/Fortran/F95.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Fortran/F95.py')
-rw-r--r--test/Fortran/F95.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/Fortran/F95.py b/test/Fortran/F95.py
index 56c6edd..0912f71 100644
--- a/test/Fortran/F95.py
+++ b/test/Fortran/F95.py
@@ -98,12 +98,7 @@ g95 = test.detect_tool(fc)
if g95:
- 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(F95 = '%(fc)s')