summaryrefslogtreecommitdiffstats
path: root/library/tcltest
diff options
context:
space:
mode:
authordas <das>2009-08-30 19:18:41 (GMT)
committerdas <das>2009-08-30 19:18:41 (GMT)
commita12040825675c47f53cb76d6cbc1a99a64ed2707 (patch)
tree00493c34272ae12288516515b95dd48e2f289eb0 /library/tcltest
parent14e37320188438c6023b68c3df2d4349c214b647 (diff)
downloadtcl-a12040825675c47f53cb76d6cbc1a99a64ed2707.zip
tcl-a12040825675c47f53cb76d6cbc1a99a64ed2707.tar.gz
tcl-a12040825675c47f53cb76d6cbc1a99a64ed2707.tar.bz2
add "error:" to -verbose line test failure output to satisfy stricter log parsers like Xcode 3.2
Diffstat (limited to 'library/tcltest')
-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]"
}
}