summaryrefslogtreecommitdiff
path: root/test/Ignore.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/Ignore.py
parent42717c855f7cbb73d3017ac243a34491d3cc0c53 (diff)
downloadscons-2f7d4f660fd048edc342a989d25c94d7b52ab13e.tar.gz
Changes from Charles Crain.
Diffstat (limited to 'test/Ignore.py')
-rw-r--r--test/Ignore.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/Ignore.py b/test/Ignore.py
index f507c665..0470d7ec 100644
--- a/test/Ignore.py
+++ b/test/Ignore.py
@@ -43,11 +43,9 @@ file.close()
""")
test.write('SConstruct', """
-Foo = Builder(name = "Foo",
- action = r"%s build.py $TARGET $SOURCES")
-Bar = Builder(name = "Bar",
- action = r"%s build.py $TARGET $SOURCES")
-env = Environment(BUILDERS = [Foo, Bar])
+Foo = Builder(action = r"%s build.py $TARGET $SOURCES")
+Bar = Builder(action = r"%s build.py $TARGET $SOURCES")
+env = Environment(BUILDERS = { 'Foo' : Foo, 'Bar' : Bar })
env.Foo(target = 'f1.out', source = ['f1a.in', 'f1b.in'])
env.Ignore(target = 'f1.out', dependency = 'f1b.in')
SConscript('subdir/SConscript', "env")