summaryrefslogtreecommitdiff
path: root/test/option--.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--.py
parent42717c855f7cbb73d3017ac243a34491d3cc0c53 (diff)
downloadscons-2f7d4f660fd048edc342a989d25c94d7b52ab13e.tar.gz
Changes from Charles Crain.
Diffstat (limited to 'test/option--.py')
-rw-r--r--test/option--.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/option--.py b/test/option--.py
index de9cbb62..6a18cf51 100644
--- a/test/option--.py
+++ b/test/option--.py
@@ -41,9 +41,8 @@ file.close()
""")
test.write('SConstruct', """
-MyBuild = Builder(name = "MyBuild",
- action = r'%s build.py $TARGETS')
-env = Environment(BUILDERS = [MyBuild])
+MyBuild = Builder(action = r'%s build.py $TARGETS')
+env = Environment(BUILDERS = { 'MyBuild' : MyBuild })
env.MyBuild(target = '-f1.out', source = 'f1.in')
env.MyBuild(target = '-f2.out', source = 'f2.in')
""" % python)