diff options
| author | das <das> | 2009-08-30 19:18:39 (GMT) |
|---|---|---|
| committer | das <das> | 2009-08-30 19:18:39 (GMT) |
| commit | 5b74136a3a5122f214f360704f0711c4424f35d0 (patch) | |
| tree | 22275ec1783eb0989c18bf307f97f78296075c16 | |
| parent | 5bbd21ae617825994e2c4bcfd76e988c34c84d6e (diff) | |
| download | tcl-5b74136a3a5122f214f360704f0711c4424f35d0.zip tcl-5b74136a3a5122f214f360704f0711c4424f35d0.tar.gz tcl-5b74136a3a5122f214f360704f0711c4424f35d0.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.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl index f363c80..64a9c08 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.104 2009/04/08 16:05:15 dgp Exp $ +# RCS: @(#) $Id: tcltest.tcl,v 1.105 2009/08/30 19:18:39 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]" } } |
