summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2009-08-30 19:18:41 (GMT)
committerdas <das>2009-08-30 19:18:41 (GMT)
commita73eb2fc2ca590788c6263ac541fe64012083e43 (patch)
tree00493c34272ae12288516515b95dd48e2f289eb0
parent0f464e35a0f9ebfc2060cdb7a84a22a629a662c4 (diff)
downloadtcl-a73eb2fc2ca590788c6263ac541fe64012083e43.zip
tcl-a73eb2fc2ca590788c6263ac541fe64012083e43.tar.gz
tcl-a73eb2fc2ca590788c6263ac541fe64012083e43.tar.bz2
add "error:" to -verbose line test failure output to satisfy stricter log parsers like Xcode 3.2
-rw-r--r--library/tcltest/tcltest.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl
index 52f7bf4..30a3591 100644
--- a/library/tcltest/tcltest.tcl
+++ b/library/tcltest/tcltest.tcl
@@ -16,7 +16,7 @@
# Contributions from Don Porter, NIST, 2002. (not subject to US copyright)
# All rights reserved.
#
-# RCS: @(#) $Id: tcltest.tcl,v 1.103.2.1 2009/04/08 16:04:48 dgp Exp $
+# RCS: @(#) $Id: tcltest.tcl,v 1.103.2.2 2009/08/30 19:18:41 das Exp $
package require Tcl 8.5 ;# -verbose line uses [info frame]
namespace eval tcltest {
@@ -2104,7 +2104,7 @@ proc tcltest::test {name description args} {
}
}
if {[info exists testLine]} {
- puts [outputChannel] "$testFile:$testLine: test failed:\
+ puts [outputChannel] "$testFile:$testLine: error: test failed:\
$name [string trim $description]"
}
}