Changes from Charles Crain.
[scons.git] / test / up-to-date.py
index bc183881dca06330f0df9e7498c8e148850c2e36..3db10476304a2847b078fc6b05e856a115f29509 100644 (file)
@@ -42,8 +42,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')
 env.B(target = 'f3.out', source = 'f3.in')