summaryrefslogtreecommitdiff
path: root/test/fixture
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-12 21:21:00 -0400
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-12 21:21:00 -0400
commit0da1117ef3e2d6dc28e1df8a5d2c898a6a316c8a (patch)
treeda6b71a9584084e8b6e5104d0a3d688dbb533208 /test/fixture
parent0316ad1681b00b0c948f329db9c1eeedf709545b (diff)
downloadscons-git-0da1117ef3e2d6dc28e1df8a5d2c898a6a316c8a.tar.gz
copied old wrapper logic from java tests.
Diffstat (limited to 'test/fixture')
-rw-r--r--test/fixture/wrapper_with_args.py7
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 000000000..fccab729c
--- /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:]))