summaryrefslogtreecommitdiffstats
path: root/test/option-c.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-08-06 13:12:16 (GMT)
committerSteven Knight <knight@baldmt.com>2004-08-06 13:12:16 (GMT)
commit31779f1d6730d32c4f799c7d1506ed5d7de257e0 (patch)
treeaa082468c1adc548cc9e419b70f9c30b96f1f6e6 /test/option-c.py
parent42629fe85a87b728d01c67e65bdbfde310744c63 (diff)
downloadSCons-31779f1d6730d32c4f799c7d1506ed5d7de257e0.zip
SCons-31779f1d6730d32c4f799c7d1506ed5d7de257e0.tar.gz
SCons-31779f1d6730d32c4f799c7d1506ed5d7de257e0.tar.bz2
Fix fallout from having everything return a list.
Diffstat (limited to 'test/option-c.py')
-rw-r--r--test/option-c.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/option-c.py b/test/option-c.py
index 1596d9f..26d40ea 100644
--- a/test/option-c.py
+++ b/test/option-c.py
@@ -167,11 +167,11 @@ B = Builder(action = r'%s build.py $TARGETS $SOURCES')
env = Environment(BUILDERS = { 'B' : B }, FOO = 'foo2')
env.B(target = 'foo1.out', source = 'foo1.in')
env.B(target = 'foo2.out', source = 'foo2.xxx')
-env.B(target = 'foo2.xxx', source = 'foo2.in')
+foo2_xxx = env.B(target = 'foo2.xxx', source = 'foo2.in')
env.B(target = 'foo3.out', source = 'foo3.in')
SConscript('subd/SConscript')
-Clean('foo2.xxx', ['aux1.x'])
-env.Clean('${FOO}.xxx', ['aux2.x'])
+Clean(foo2_xxx, ['aux1.x'])
+env.Clean(['${FOO}.xxx'], ['aux2.x'])
Clean('.', ['subd'])
""" % python)