summaryrefslogtreecommitdiff
path: root/test/option--max-drift.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option--max-drift.py')
-rw-r--r--test/option--max-drift.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option--max-drift.py b/test/option--max-drift.py
index 0b8f0c59..facaecae 100644
--- a/test/option--max-drift.py
+++ b/test/option--max-drift.py
@@ -45,8 +45,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 = 'f1.out', source = 'f1.in')
env.B(target = 'f2.out', source = 'f2.in')
""" % python)