summaryrefslogtreecommitdiffstats
path: root/test/AS
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/AS
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/AS')
-rw-r--r--test/AS/AS.py13
-rw-r--r--test/AS/ASFLAGS.py10
-rw-r--r--test/AS/ASPP.py13
-rw-r--r--test/AS/ASPPFLAGS.py10
4 files changed, 36 insertions, 10 deletions
diff --git a/test/AS/AS.py b/test/AS/AS.py
index 38ea655..e0ffbf4 100644
--- a/test/AS/AS.py
+++ b/test/AS/AS.py
@@ -47,7 +47,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:]
@@ -65,15 +69,16 @@ 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 not a[0] in "/-":
if not inf:
inf = a
continue
if a[:3] == '/Fo': out = a[3:]
- if a == '-o':
- out = args[0]
- args = args[1:]
infile = open(inf, 'rb')
outfile = open(out, 'wb')
for l in infile.readlines():
diff --git a/test/AS/ASFLAGS.py b/test/AS/ASFLAGS.py
index 4f89c2c..024cea3 100644
--- a/test/AS/ASFLAGS.py
+++ b/test/AS/ASFLAGS.py
@@ -45,7 +45,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:]
@@ -64,6 +68,10 @@ inf = None
optstring = ''
while args:
a = args[0]
+ if a == '-o':
+ out = args[1]
+ args = args[2:]
+ continue
args = args[1:]
if not a[0] in '/-':
if not inf:
diff --git a/test/AS/ASPP.py b/test/AS/ASPP.py
index db699f8..67f4071 100644
--- a/test/AS/ASPP.py
+++ b/test/AS/ASPP.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,15 +64,16 @@ 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 not a[0] in "/-":
if not inf:
inf = a
continue
if a[:3] == '/Fo': out = a[3:]
- if a == '-o':
- out = args[0]
- args = args[1:]
infile = open(inf, 'rb')
outfile = open(out, 'wb')
for l in infile.readlines():
diff --git a/test/AS/ASPPFLAGS.py b/test/AS/ASPPFLAGS.py
index f27d0ad..f8e70a9 100644
--- a/test/AS/ASPPFLAGS.py
+++ b/test/AS/ASPPFLAGS.py
@@ -45,7 +45,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:]
@@ -64,6 +68,10 @@ inf = None
optstring = ''
while args:
a = args[0]
+ if a == '-o':
+ out = args[1]
+ args = args[2:]
+ continue
args = args[1:]
if not a[0] in '/-':
if not inf: