summaryrefslogtreecommitdiffstats
path: root/test/timestamp-fallback.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/timestamp-fallback.py')
-rw-r--r--test/timestamp-fallback.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/timestamp-fallback.py b/test/timestamp-fallback.py
index 8f5e262..f284afe 100644
--- a/test/timestamp-fallback.py
+++ b/test/timestamp-fallback.py
@@ -51,8 +51,8 @@ os.environ['PYTHONPATH'] = test.workpath('.')
test.write('SConstruct', """
def build(env, target, source):
open(str(target[0]), 'wt').write(open(str(source[0]), 'rt').read())
-B = Builder(name = 'B', action = build)
-env = Environment(BUILDERS = [B])
+B = Builder(action = build)
+env = Environment(BUILDERS = { 'B' : B })
env.B(target = 'f1.out', source = 'f1.in')
env.B(target = 'f2.out', source = 'f2.in')
env.B(target = 'f3.out', source = 'f3.in')