diff options
Diffstat (limited to 'test/option--U.py')
-rw-r--r-- | test/option--U.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/option--U.py b/test/option--U.py index 4e8b408..d700267 100644 --- a/test/option--U.py +++ b/test/option--U.py @@ -144,10 +144,11 @@ Default('.') test.run(chdir = 'sub4', arguments = '-U') test.write('SConstruct', """ -Default('no_a_target.in') +Default('not_a_target.in') """) -# The following should result in an error, but because of bug 642327, it doesn't: -test.run(arguments = '-U') +test.run(arguments = '-U', status=2, stderr="""\ +scons: *** Do not know how to make target `not_a_target.in'. Stop. +""") test.pass_test() |