diff options
Diffstat (limited to 'test/CXX/CXX.py')
-rw-r--r-- | test/CXX/CXX.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/CXX/CXX.py b/test/CXX/CXX.py index 79dbde4..c9dbf1c 100644 --- a/test/CXX/CXX.py +++ b/test/CXX/CXX.py @@ -183,13 +183,7 @@ env.Program(target = 'test6', source = 'test6.C') -test.write("wrapper.py", -"""import os -import sys -if '--version' not in sys.argv and '-dumpversion' not in sys.argv: - 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() |