diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/option--U.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/option--U.py b/test/option--U.py index d2c518d..23e82b1 100644 --- a/test/option--U.py +++ b/test/option--U.py @@ -134,4 +134,14 @@ test.fail_test(os.path.exists(test.workpath('bar.out'))) test.fail_test(os.path.exists(test.workpath('sub2/xxx.out'))) +# Make sure that a Default() directory doesn't cause an exception. +test.subdir('sub4') + +test.write(['sub4', 'SConstruct'], """ +Default('.') +""") + +test.run(chdir = 'sub4', arguments = '-U') + + test.pass_test() |
