summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/EnvironmentTests.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-12-18 05:30:09 (GMT)
committerSteven Knight <knight@baldmt.com>2003-12-18 05:30:09 (GMT)
commit103bcacbbd14b17ff9e98ee0e88573f357b1ae37 (patch)
tree97387ce3d10b56e1798638d0ebc212229c1a4215 /src/engine/SCons/EnvironmentTests.py
parent7531fc5ad155280e4cdaf1ed0a0e4472d607541f (diff)
downloadSCons-103bcacbbd14b17ff9e98ee0e88573f357b1ae37.zip
SCons-103bcacbbd14b17ff9e98ee0e88573f357b1ae37.tar.gz
SCons-103bcacbbd14b17ff9e98ee0e88573f357b1ae37.tar.bz2
Add support for a toolpath for Environments.
Diffstat (limited to 'src/engine/SCons/EnvironmentTests.py')
-rw-r--r--src/engine/SCons/EnvironmentTests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/SCons/EnvironmentTests.py b/src/engine/SCons/EnvironmentTests.py
index e6fd5c9..5fee3dd 100644
--- a/src/engine/SCons/EnvironmentTests.py
+++ b/src/engine/SCons/EnvironmentTests.py
@@ -1162,7 +1162,9 @@ class EnvironmentTestCase(unittest.TestCase):
exc_caught = 1
assert exc_caught, "did not catch expected UserError"
- env.Tool('cc')
+ # Use a non-existent toolpath directory just to make sure we
+ # can call Tool() with the keyword argument.
+ env.Tool('cc', toolpath=['/no/such/directory'])
assert env['CC'] == 'cc', env['CC']
env.Tool('$LINK')