summaryrefslogtreecommitdiff
path: root/test/option-i.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-06-05 23:35:56 +0000
committerSteven Knight <knight@baldmt.com>2002-06-05 23:35:56 +0000
commit2f7d4f660fd048edc342a989d25c94d7b52ab13e (patch)
tree20def5c6f0f7b68ab7151cac4ada5c470a3b31e0 /test/option-i.py
parent42717c855f7cbb73d3017ac243a34491d3cc0c53 (diff)
downloadscons-2f7d4f660fd048edc342a989d25c94d7b52ab13e.tar.gz
Changes from Charles Crain.
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 c594563a..2e905e19 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')