summaryrefslogtreecommitdiff
path: root/src/engine/SCons/EnvironmentTests.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-04-13 13:49:21 +0000
committerSteven Knight <knight@baldmt.com>2005-04-13 13:49:21 +0000
commit4222b5aa00cf823693509e28a086b1fe7077482e (patch)
tree2fc86327262ad237e894e84d6c5a4157b9fa3abd /src/engine/SCons/EnvironmentTests.py
parent829d0fa89c2d93bb1461df2a8bb2fd2bb28a67da (diff)
downloadscons-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.py5
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]