summaryrefslogtreecommitdiffstats
path: root/test/option-c.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option-c.py')
-rw-r--r--test/option-c.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option-c.py b/test/option-c.py
index c149c2a..1596d9f 100644
--- a/test/option-c.py
+++ b/test/option-c.py
@@ -164,14 +164,14 @@ test.write('aux1.x', "aux1.x\n")
test.write('aux2.x', "aux2.x\n")
test.write('SConstruct', """
B = Builder(action = r'%s build.py $TARGETS $SOURCES')
-env = Environment(BUILDERS = { 'B' : B })
+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')
env.B(target = 'foo3.out', source = 'foo3.in')
SConscript('subd/SConscript')
Clean('foo2.xxx', ['aux1.x'])
-Clean('foo2.xxx', ['aux2.x'])
+env.Clean('${FOO}.xxx', ['aux2.x'])
Clean('.', ['subd'])
""" % python)