diff options
author | Steven Knight <knight@baldmt.com> | 2005-12-27 22:24:55 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-12-27 22:24:55 (GMT) |
commit | f537ad561c112409f52af14d47b753b92a3d2c46 (patch) | |
tree | acaae981ff2f6ce27cbf760c83b113f76129705e /src/engine/SCons/ExecutorTests.py | |
parent | 28de6ecc5238352072adeb642398776980299503 (diff) | |
download | SCons-f537ad561c112409f52af14d47b753b92a3d2c46.zip SCons-f537ad561c112409f52af14d47b753b92a3d2c46.tar.gz SCons-f537ad561c112409f52af14d47b753b92a3d2c46.tar.bz2 |
Handle scanning of the in-memory entries for a Dir with a scanner, not a hard-coded Python method.
Diffstat (limited to 'src/engine/SCons/ExecutorTests.py')
-rw-r--r-- | src/engine/SCons/ExecutorTests.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/engine/SCons/ExecutorTests.py b/src/engine/SCons/ExecutorTests.py index a5ac9a6..44086d7 100644 --- a/src/engine/SCons/ExecutorTests.py +++ b/src/engine/SCons/ExecutorTests.py @@ -78,7 +78,7 @@ class MyNode: [self], ['s1', 's2']) apply(executor, (self, errfunc), {}) - def get_scanner(self, env, kw): + def get_env_scanner(self, env, kw): return MyScanner('dep-') def get_implicit_deps(self, env, scanner, path): return [scanner.prefix + str(self)] @@ -88,8 +88,6 @@ class MyNode: return self.missing_val def calc_signature(self, calc): return 'cs-'+calc+'-'+self.name - def select_scanner(self, scanner): - return scanner.select(self) class MyScanner: def __init__(self, prefix): |