diff options
author | Steven Knight <knight@baldmt.com> | 2004-10-07 23:15:13 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-10-07 23:15:13 (GMT) |
commit | eb00b2950b7071c06bcb7a558d73b3898b6a5dbb (patch) | |
tree | 1e3a1f06b28333f93e2eb3884d9d5debf2f40768 /test/Scanner.py | |
parent | 95d4d318ae1d0a9684a59e7076c1c41c28f65223 (diff) | |
download | SCons-eb00b2950b7071c06bcb7a558d73b3898b6a5dbb.zip SCons-eb00b2950b7071c06bcb7a558d73b3898b6a5dbb.tar.gz SCons-eb00b2950b7071c06bcb7a558d73b3898b6a5dbb.tar.bz2 |
Remove scan=0 calls to Node.current() for implicit cache. Remove last vestiges of Node.target_scanner. (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 |