summaryrefslogtreecommitdiffstats
path: root/test/option-i.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option-i.py')
-rw-r--r--test/option-i.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/option-i.py b/test/option-i.py
index c594563..2e905e1 100644
--- a/test/option-i.py
+++ b/test/option-i.py
@@ -46,9 +46,9 @@ sys.exit(1)
""")
test.write('SConstruct', """
-Succeed = Builder(name = "Succeed", action = r'%s succeed.py $TARGETS')
-Fail = Builder(name = "Fail", action = r'%s fail.py $TARGETS')
-env = Environment(BUILDERS = [Succeed, Fail])
+Succeed = Builder(action = r'%s succeed.py $TARGETS')
+Fail = Builder(action = r'%s fail.py $TARGETS')
+env = Environment(BUILDERS = { 'Succeed' : Succeed, 'Fail' : Fail })
env.Fail(target = 'aaa.1', source = 'aaa.in')
env.Succeed(target = 'aaa.out', source = 'aaa.1')
env.Fail(target = 'bbb.1', source = 'bbb.in')