diff options
author | Mats Wichmann <mats@linux.com> | 2021-04-23 19:35:36 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2021-04-23 19:35:36 (GMT) |
commit | 143687c8b6c20684e50696d0431d972706178c63 (patch) | |
tree | e6858d3d8ea712c952e565e0b52f4947be59dbe9 /SCons | |
parent | f5c69f68871141018bd09f7ca499ff6724946173 (diff) | |
download | SCons-143687c8b6c20684e50696d0431d972706178c63.zip SCons-143687c8b6c20684e50696d0431d972706178c63.tar.gz SCons-143687c8b6c20684e50696d0431d972706178c63.tar.bz2 |
Add simple unit-test for env.Whereis('')
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'SCons')
-rw-r--r-- | SCons/EnvironmentTests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SCons/EnvironmentTests.py b/SCons/EnvironmentTests.py index 4ea2c66..7155969 100644 --- a/SCons/EnvironmentTests.py +++ b/SCons/EnvironmentTests.py @@ -2583,6 +2583,8 @@ def generate(env): path = os.pathsep.join(pathdirs_1234) env = self.TestEnvironment(ENV = {'PATH' : path}) + wi = env.WhereIs('') + assert wi is None wi = env.WhereIs('xxx.exe') assert wi == test.workpath(sub3_xxx_exe), wi wi = env.WhereIs('xxx.exe', pathdirs_1243) |