From: Reid Spencer Date: Sat, 21 Apr 2007 18:46:52 +0000 (+0000) Subject: Put failure information on a separate line. Hopefully this unbreaks the X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=1e55bf251c9727ead3dc25b5ffa035ef33d61a35 Put failure information on a separate line. Hopefully this unbreaks the nightly tester which expects the FAIL: line to only have the test name on it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36310 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lib/llvm.exp b/test/lib/llvm.exp index d54f488d16b..fbab246aae0 100644 --- a/test/lib/llvm.exp +++ b/test/lib/llvm.exp @@ -13,21 +13,21 @@ proc execOneLine { test PRS outcome lineno line } { CHILDSTATUS { set status [lindex $::errorCode 2] if { $status != 0 } { - set resultmsg "$test: exit($status)$errmsg" + set resultmsg "$test\nFailed with exit($status)$errmsg" } } CHILDKILLED { set signal [lindex $::errorCode 2] - set resultmsg "$test: signal($signal)$errmsg" + set resultmsg "$test\nFailed with signal($signal)$errmsg" } CHILDSUSP { set signal [lindex $::errorCode 2] - set resultmsg "$test: suspend($signal)$errmsg" + set resultmsg "$test\nFailed with suspend($signal)$errmsg" } POSIX { set posixNum [lindex $::errorCode 1] set posixMsg [lindex $::errorCode 2] - set resultmsg "$test: posix($posixNum,$posixMsg)$errmsg" + set resultmsg "$test\nFailed with posix($posixNum,$posixMsg)$errmsg" } NONE { }