mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-18 01:35:44 +00:00
Always print the same "PR" information in the same location (just after
the test name) in all cases (PASS, XPASS, FAIL, XFAIL). This makes the output consistent and more amenable to parsing by nightly test. llvm-svn: 36311
This commit is contained in:
parent
8297d9b097
commit
1d7c49097d
@ -8,26 +8,26 @@ proc execOneLine { test PRS outcome lineno line } {
|
||||
if { $PRS != ""} {
|
||||
set PRS " for $PRS"
|
||||
}
|
||||
set errmsg " at line $lineno$PRS\nwhile running: $line\n$errmsg"
|
||||
set errmsg " at line $lineno\nwhile running: $line\n$errmsg"
|
||||
switch "$code" {
|
||||
CHILDSTATUS {
|
||||
set status [lindex $::errorCode 2]
|
||||
if { $status != 0 } {
|
||||
set resultmsg "$test\nFailed with exit($status)$errmsg"
|
||||
set resultmsg "$test$PRS\nFailed with exit($status)$errmsg"
|
||||
}
|
||||
}
|
||||
CHILDKILLED {
|
||||
set signal [lindex $::errorCode 2]
|
||||
set resultmsg "$test\nFailed with signal($signal)$errmsg"
|
||||
set resultmsg "$test$PRS\nFailed with signal($signal)$errmsg"
|
||||
}
|
||||
CHILDSUSP {
|
||||
set signal [lindex $::errorCode 2]
|
||||
set resultmsg "$test\nFailed with suspend($signal)$errmsg"
|
||||
set resultmsg "$test$PRS\nFailed with suspend($signal)$errmsg"
|
||||
}
|
||||
POSIX {
|
||||
set posixNum [lindex $::errorCode 1]
|
||||
set posixMsg [lindex $::errorCode 2]
|
||||
set resultmsg "$test\nFailed with posix($posixNum,$posixMsg)$errmsg"
|
||||
set resultmsg "$test$PRS\nFailed with posix($posixNum,$posixMsg)$errmsg"
|
||||
}
|
||||
NONE {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user