diff options
Diffstat (limited to 'test/Fortran/SHF03.py')
-rw-r--r-- | test/Fortran/SHF03.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/Fortran/SHF03.py b/test/Fortran/SHF03.py index 6502f49..d514f64 100644 --- a/test/Fortran/SHF03.py +++ b/test/Fortran/SHF03.py @@ -95,12 +95,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(SHF03 = '%(fc)s') |