diff options
| author | Steven Knight <knight@baldmt.com> | 2002-09-08 04:13:20 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2002-09-08 04:13:20 (GMT) |
| commit | 596f9fa6bed4777348f005fb98f8b67dda93b515 (patch) | |
| tree | 11bd1002ab9a696c48d99618473db80302dc5454 /test | |
| parent | 44e01f6fed5a00994123ee5dd1d61b228eddeb27 (diff) | |
| download | SCons-596f9fa6bed4777348f005fb98f8b67dda93b515.zip SCons-596f9fa6bed4777348f005fb98f8b67dda93b515.tar.gz SCons-596f9fa6bed4777348f005fb98f8b67dda93b515.tar.bz2 | |
Eliminate an exception when using -U.
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() |
