summaryrefslogtreecommitdiffstats
path: root/test/option-s.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option-s.py')
-rw-r--r--test/option-s.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/option-s.py b/test/option-s.py
index 7601c09..450e994 100644
--- a/test/option-s.py
+++ b/test/option-s.py
@@ -41,9 +41,8 @@ file.close()
""")
test.write('SConstruct', """
-MyBuild = Builder(name = "MyBuild",
- action = r'%s build.py $TARGET')
-env = Environment(BUILDERS = [MyBuild])
+MyBuild = Builder(action = r'%s build.py $TARGET')
+env = Environment(BUILDERS = { 'MyBuild' : MyBuild })
env.MyBuild(target = 'f1.out', source = 'f1.in')
env.MyBuild(target = 'f2.out', source = 'f2.in')
""" % python)