diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-12 21:21:00 -0400 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-12 21:21:00 -0400 |
commit | ea518fc5f92d4b7928e2d6cb30723951254bfafd (patch) | |
tree | da6b71a9584084e8b6e5104d0a3d688dbb533208 /test/fixture | |
parent | 68f84df15bc227813ccf6e7ab15a99caefb0ac29 (diff) | |
download | scons-ea518fc5f92d4b7928e2d6cb30723951254bfafd.tar.gz |
copied old wrapper logic from java tests.
Diffstat (limited to 'test/fixture')
-rw-r--r-- | test/fixture/wrapper_with_args.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/fixture/wrapper_with_args.py b/test/fixture/wrapper_with_args.py new file mode 100644 index 00000000..fccab729 --- /dev/null +++ b/test/fixture/wrapper_with_args.py @@ -0,0 +1,7 @@ +import os +import sys + +path = os.path.join(os.path.dirname(os.path.relpath(__file__)), 'wrapper.out') + +open(path, 'a').write("wrapper_with_args.py %s\n" % " ".join(sys.argv[1:])) +os.system(" ".join(sys.argv[1:])) |