summaryrefslogtreecommitdiffstats
path: root/test/Scanner.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-10-09 03:23:36 (GMT)
committerSteven Knight <knight@baldmt.com>2004-10-09 03:23:36 (GMT)
commit759d82c0b890501e19708536e47d83e00c6dae09 (patch)
treee0e0d0df134f2f47857e0a202e6ea95e78552889 /test/Scanner.py
parent08a678fdf7348b3d8df254225eb563d4a5ad6022 (diff)
downloadSCons-759d82c0b890501e19708536e47d83e00c6dae09.zip
SCons-759d82c0b890501e19708536e47d83e00c6dae09.tar.gz
SCons-759d82c0b890501e19708536e47d83e00c6dae09.tar.bz2
Win32 portability fixes for tests.
Diffstat (limited to 'test/Scanner.py')
-rw-r--r--test/Scanner.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Scanner.py b/test/Scanner.py
index 828d198..2814759 100644
--- a/test/Scanner.py
+++ b/test/Scanner.py
@@ -88,6 +88,7 @@ k2scan = env.Scanner(name = 'k2',
##########################################################
# Test scanner as found automatically from the environment
+# (backup_source_scanner)
env = Environment()
env.Append(SCANNERS = kscan)
@@ -102,15 +103,14 @@ env2.Append(SCANNERS = [k2scan])
env2.Command('junk', 'junk.k2', r'%(python)s build.py $SOURCES $TARGET')
##########################################################
-# Test specifying a specific source scanner for a Builder
+# Test specifying a specific source scanner for a target Node
-bar = env.Command('bar', 'bar.in',
- r'%(python)s build.py $SOURCES $TARGET',
- source_scanner=kscan)
+bar = env.Command('bar', 'bar.in', r'%(python)s build.py $SOURCES $TARGET')
+bar[0].source_scanner = kscan
##########################################################
-# Test specifying a source scanner for an intermediary Builder to
-# ensure that the right scanner gets used for the right nodes.
+# Test specifying a source scanner for a Builder that gets
+# automatically applied to targets generated from that Builder
import string