diff options
author | Steven Knight <knight@baldmt.com> | 2005-04-13 13:49:21 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-04-13 13:49:21 +0000 |
commit | 4222b5aa00cf823693509e28a086b1fe7077482e (patch) | |
tree | 2fc86327262ad237e894e84d6c5a4157b9fa3abd /src/engine/SCons/EnvironmentTests.py | |
parent | 829d0fa89c2d93bb1461df2a8bb2fd2bb28a67da (diff) | |
download | scons-4222b5aa00cf823693509e28a086b1fe7077482e.tar.gz |
Refactor the Rsearch*() methods out of existence in favor of simpler utility methods that return lists of repository directories.
Diffstat (limited to 'src/engine/SCons/EnvironmentTests.py')
-rw-r--r-- | src/engine/SCons/EnvironmentTests.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/engine/SCons/EnvironmentTests.py b/src/engine/SCons/EnvironmentTests.py index 6b4bc600..fcd0fee1 100644 --- a/src/engine/SCons/EnvironmentTests.py +++ b/src/engine/SCons/EnvironmentTests.py @@ -799,10 +799,7 @@ class BaseTestCase(unittest.TestCase): LIBLINKSUFFIX = 'bar') def RDirs(pathlist, fs=env.fs): - return fs.Rsearchall(pathlist, - clazz=SCons.Node.FS.Dir, - must_exist=0, - cwd=fs.Dir('xx')) + return fs.Rfindalldirs(pathlist, fs.Dir('xx')) env['RDirs'] = RDirs flags = env.subst_list('$_LIBFLAGS', 1)[0] |