diff options
author | William Blevins <wblevins001@gmail.com> | 2016-09-24 04:29:36 -0400 |
---|---|---|
committer | William Blevins <wblevins001@gmail.com> | 2016-09-24 04:29:36 -0400 |
commit | 0bb33189f751d06aa2fceea14d3b1a39f9bd8cea (patch) | |
tree | c6fa3299dd54d4764e6e3d4225b7d32d0bc17395 /test/Ghostscript | |
parent | 8a5bbc171413896cda7c3d401727858ecaa80bf7 (diff) | |
download | scons-0bb33189f751d06aa2fceea14d3b1a39f9bd8cea.tar.gz |
Updating tests to use fixture wrapper.py.
Diffstat (limited to 'test/Ghostscript')
-rw-r--r-- | test/Ghostscript/GSFLAGS.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/Ghostscript/GSFLAGS.py b/test/Ghostscript/GSFLAGS.py index 16ad6c1e..c8e0668c 100644 --- a/test/Ghostscript/GSFLAGS.py +++ b/test/Ghostscript/GSFLAGS.py @@ -82,12 +82,7 @@ gs = test.where_is(gs_executable) if gs: - test.write("wrapper.py", """import os -import sys -cmd = " ".join(sys.argv[1:]) -open('%s', 'ab').write("%%s\\n" %% cmd) -os.system(cmd) -""" % test.workpath('wrapper.out').replace('\\', '\\\\')) + test.file_fixture('wrapper.py') test.write('SConstruct', """\ import os |