summaryrefslogtreecommitdiffstats
path: root/test/CXX
diff options
context:
space:
mode:
authordirkbaechle <devnull@localhost>2012-09-04 23:23:13 (GMT)
committerdirkbaechle <devnull@localhost>2012-09-04 23:23:13 (GMT)
commit1c8744b6d4ec8812746415d1aae4f13e634809ca (patch)
tree5d422a83251e4afe9a3941b3bb97a79fdb38765f /test/CXX
parenta54670d821ac18abc3880ef9ca03c2f84edd5ae6 (diff)
downloadSCons-1c8744b6d4ec8812746415d1aae4f13e634809ca.zip
SCons-1c8744b6d4ec8812746415d1aae4f13e634809ca.tar.gz
SCons-1c8744b6d4ec8812746415d1aae4f13e634809ca.tar.bz2
- first swoop of changes for getting all Buildbot slaves to run successfully again
Diffstat (limited to 'test/CXX')
-rw-r--r--test/CXX/CXX.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/CXX/CXX.py b/test/CXX/CXX.py
index 1e338a6..cd354ae 100644
--- a/test/CXX/CXX.py
+++ b/test/CXX/CXX.py
@@ -42,7 +42,11 @@ import sys
args = sys.argv[1:]
while args:
a = args[0]
- if a[0] != '/':
+ if a == '-o':
+ out = args[1]
+ args = args[2:]
+ continue
+ if not a[0] in '/-':
break
args = args[1:]
if a[:5].lower() == '/out:': out = a[5:]
@@ -60,8 +64,12 @@ args = sys.argv[1:]
inf = None
while args:
a = args[0]
+ if a == '-o':
+ out = args[1]
+ args = args[2:]
+ continue
args = args[1:]
- if a[0] != '/':
+ if not a[0] in '/-':
if not inf:
inf = a
continue