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
This commit is contained in:
Reid Spencer 2007-04-21 18:46:52 +00:00
parent c67bdc288a
commit 1e55bf251c

View File

@ -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 {
}