summaryrefslogtreecommitdiffstats
path: root/test/CommandGenerator.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/CommandGenerator.py')
-rw-r--r--test/CommandGenerator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CommandGenerator.py b/test/CommandGenerator.py
index 9a2a7c7..c708d15 100644
--- a/test/CommandGenerator.py
+++ b/test/CommandGenerator.py
@@ -48,8 +48,8 @@ def g(source, target, for_signature, env):
return [[python, "build.py", "$TEMPFILE"] + source,
[python, "build.py"] + target + ["$TEMPFILE"]]
-b = Builder(name = 'b', generator=g)
-env = Environment(BUILDERS = [b],
+b = Builder(generator=g)
+env = Environment(BUILDERS = { 'b' : b },
TEMPFILE=".temp")
env.b(target = 'foo1.out', source = 'foo1.in')
env.b(target = 'foo2.out', source = 'foo2.in')