summaryrefslogtreecommitdiffstats
path: root/test/option-u.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option-u.py')
-rw-r--r--test/option-u.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/option-u.py b/test/option-u.py
index 8f23746..54f4f46 100644
--- a/test/option-u.py
+++ b/test/option-u.py
@@ -45,8 +45,8 @@ file.close()
test.write('SConstruct', """
import SCons.Defaults
-B = Builder(name='B', action='%s build.py $TARGET $SOURCES')
-env = Environment(BUILDERS = [B, SCons.Defaults.Alias])
+env = Environment()
+env['BUILDERS']['B'] = Builder(action='%s build.py $TARGET $SOURCES')
env.B(target = 'sub1/foo.out', source = 'sub1/foo.in')
Default('.')
Export('env')