summaryrefslogtreecommitdiffstats
path: root/test/LIBPATH.py
diff options
context:
space:
mode:
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()