summaryrefslogtreecommitdiffstats
path: root/test/Precious.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Precious.py')
-rw-r--r--test/Precious.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Precious.py b/test/Precious.py
index 6e752b9..e0f8c8f 100644
--- a/test/Precious.py
+++ b/test/Precious.py
@@ -40,8 +40,8 @@ sys.exit(0)
""")
test.write('SConstruct', """
-B = Builder(name = "B", action = r"%s build.py $TARGET $SOURCES")
-env = Environment(BUILDERS = [B])
+B = Builder(action = r"%s build.py $TARGET $SOURCES")
+env = Environment(BUILDERS = { 'B' : B })
f1 = env.B(target = 'f1.out', source = 'f1.in')
env.B(target = 'f2.out', source = 'f2.in')
env.B(target = 'f3.out', source = 'f3.in')