diff options
author | Steven Knight <knight@baldmt.com> | 2004-10-09 03:23:36 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-10-09 03:23:36 (GMT) |
commit | 759d82c0b890501e19708536e47d83e00c6dae09 (patch) | |
tree | e0e0d0df134f2f47857e0a202e6ea95e78552889 /test/Scanner.py | |
parent | 08a678fdf7348b3d8df254225eb563d4a5ad6022 (diff) | |
download | SCons-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.py | 12 |
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 |