summaryrefslogtreecommitdiffstats
path: root/test/LIBPATH.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-03-08 18:22:23 (GMT)
committerSteven Knight <knight@baldmt.com>2002-03-08 18:22:23 (GMT)
commit952df96acecd62355d351976be1384f4e7d4bc17 (patch)
tree51d74795fee1d0bc29c896eba7a6213360c93586 /test/LIBPATH.py
parentbd1384bd791e94dd5191f50d92850e857a987d08 (diff)
downloadSCons-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.py8
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()