summaryrefslogtreecommitdiffstats
path: root/test/Climb
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2009-04-15 10:10:41 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2009-04-15 10:10:41 (GMT)
commita343ecc4655243e840f5b0cf62073b0698bd0a60 (patch)
treedeb733dcc336dbff51f1da0eb5ebac2a5566ae9a /test/Climb
parent90f3408e564e6f153511e6aaedebc98e44049ef9 (diff)
downloadSCons-a343ecc4655243e840f5b0cf62073b0698bd0a60.zip
SCons-a343ecc4655243e840f5b0cf62073b0698bd0a60.tar.gz
SCons-a343ecc4655243e840f5b0cf62073b0698bd0a60.tar.bz2
Per the bug report, this patch improves the "Do not know how to make
target X" to say what type of node is being built, and the full path (if it's a file or dir).
Diffstat (limited to 'test/Climb')
-rw-r--r--test/Climb/U-Default-no-target.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Climb/U-Default-no-target.py b/test/Climb/U-Default-no-target.py
index b53c295..ca03416 100644
--- a/test/Climb/U-Default-no-target.py
+++ b/test/Climb/U-Default-no-target.py
@@ -37,8 +37,8 @@ test.write('SConstruct', """
Default('not_a_target.in')
""")
-test.run(arguments = '-U', status=2, stderr="""\
-scons: *** Do not know how to make target `not_a_target.in'. Stop.
+test.run(arguments = '-U', status=2, match=TestSCons.match_re, stderr="""\
+scons: \*\*\* Do not know how to make File target `not_a_target.in' \(.*not_a_target.in\). Stop.
""")
test.pass_test()