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 1a240de..a686f5a 100644
--- a/test/option-c.py
+++ b/test/option-c.py
@@ -41,8 +41,8 @@ file.close()
""")
test.write('SConstruct', """
-B = Builder(name = 'B', action = r'%s build.py $TARGETS $SOURCES')
-env = Environment(BUILDERS = [B])
+B = Builder(action = r'%s build.py $TARGETS $SOURCES')
+env = Environment(BUILDERS = { 'B' : B })
env.B(target = 'foo1.out', source = 'foo1.in')
env.B(target = 'foo2.out', source = 'foo2.xxx')
env.B(target = 'foo2.xxx', source = 'foo2.in')