diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/CPPPATH.py | 8 | ||||
| -rw-r--r-- | test/LIBPATH.py | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/test/CPPPATH.py b/test/CPPPATH.py index 98fabe6..372f6b6 100644 --- a/test/CPPPATH.py +++ b/test/CPPPATH.py @@ -176,4 +176,12 @@ SConscript('variant/SConscript', "env") test.up_to_date(arguments = args) +# Check that a null-string CPPPATH doesn't blow up. +test.write('SConstruct', """ +env = Environment(CPPPATH = '') +env.Library('foo', source = '') +""") + +test.run(arguments = '.') + test.pass_test() 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() |
