summaryrefslogtreecommitdiffstats
path: root/test/option--U.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-12-16 16:05:47 (GMT)
committerSteven Knight <knight@baldmt.com>2002-12-16 16:05:47 (GMT)
commit1f839d9933b456ba4ebb5098ce1f9ab01f398a94 (patch)
tree7165ff465bd2952e77af3b5de4d1690af0e4cacc /test/option--U.py
parent87f783b6bdbdfe77ba3d92f41f7e0e9cda0de2d4 (diff)
downloadSCons-1f839d9933b456ba4ebb5098ce1f9ab01f398a94.zip
SCons-1f839d9933b456ba4ebb5098ce1f9ab01f398a94.tar.gz
SCons-1f839d9933b456ba4ebb5098ce1f9ab01f398a94.tar.bz2
Make the 'Do not know how to build' error message catch more cases. (Anthony Roach)
Diffstat (limited to 'test/option--U.py')
-rw-r--r--test/option--U.py7
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()