diff options
author | Steven Knight <knight@baldmt.com> | 2002-03-08 18:22:23 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-03-08 18:22:23 (GMT) |
commit | 952df96acecd62355d351976be1384f4e7d4bc17 (patch) | |
tree | 51d74795fee1d0bc29c896eba7a6213360c93586 /test/LIBPATH.py | |
parent | bd1384bd791e94dd5191f50d92850e857a987d08 (diff) | |
download | SCons-952df96acecd62355d351976be1384f4e7d4bc17.zip SCons-952df96acecd62355d351976be1384f4e7d4bc17.tar.gz SCons-952df96acecd62355d351976be1384f4e7d4bc17.tar.bz2 |
Fix an exception caused by a null-string CPPPATH.
Diffstat (limited to 'test/LIBPATH.py')
-rw-r--r-- | test/LIBPATH.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/LIBPATH.py b/test/LIBPATH.py index 710ee54..b2ead7a 100644 --- a/test/LIBPATH.py +++ b/test/LIBPATH.py @@ -112,4 +112,12 @@ env.Library(target = './libs/foo1', source = 'f1.c') test.up_to_date(arguments = '.', stderr = None) +# Check that a null-string LIBPATH doesn't blow up. +test.write('SConstruct', """ +env = Environment(LIBPATH = '') +env.Library('foo', source = '') +""") + +test.run(arguments = '.') + test.pass_test() |