diff options
author | Steven Knight <knight@baldmt.com> | 2003-12-18 05:30:09 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-12-18 05:30:09 (GMT) |
commit | 103bcacbbd14b17ff9e98ee0e88573f357b1ae37 (patch) | |
tree | 97387ce3d10b56e1798638d0ebc212229c1a4215 /src/engine/SCons/EnvironmentTests.py | |
parent | 7531fc5ad155280e4cdaf1ed0a0e4472d607541f (diff) | |
download | SCons-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.py | 4 |
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') |