diff options
author | Steven Knight <knight@baldmt.com> | 2004-12-15 03:19:12 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-12-15 03:19:12 (GMT) |
commit | a62d56bcb2780eba0f1f47d867c7a519cc766131 (patch) | |
tree | 2f979e277aaa83395d8bdaf7b2bf183e192b30b6 /test/Scanner.py | |
parent | 0adfdd62828a0536efa967c20fff91a28578dd40 (diff) | |
download | SCons-a62d56bcb2780eba0f1f47d867c7a519cc766131.zip SCons-a62d56bcb2780eba0f1f47d867c7a519cc766131.tar.gz SCons-a62d56bcb2780eba0f1f47d867c7a519cc766131.tar.bz2 |
Remove Node scanner storage. (Kevin Quick)
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 2814759..828d198 100644 --- a/test/Scanner.py +++ b/test/Scanner.py @@ -88,7 +88,6 @@ k2scan = env.Scanner(name = 'k2', ########################################################## # Test scanner as found automatically from the environment -# (backup_source_scanner) env = Environment() env.Append(SCANNERS = kscan) @@ -103,14 +102,15 @@ env2.Append(SCANNERS = [k2scan]) env2.Command('junk', 'junk.k2', r'%(python)s build.py $SOURCES $TARGET') ########################################################## -# Test specifying a specific source scanner for a target Node +# Test specifying a specific source scanner for a Builder -bar = env.Command('bar', 'bar.in', r'%(python)s build.py $SOURCES $TARGET') -bar[0].source_scanner = kscan +bar = env.Command('bar', 'bar.in', + r'%(python)s build.py $SOURCES $TARGET', + source_scanner=kscan) ########################################################## -# Test specifying a source scanner for a Builder that gets -# automatically applied to targets generated from that Builder +# Test specifying a source scanner for an intermediary Builder to +# ensure that the right scanner gets used for the right nodes. import string |