projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98a7220
)
Print full errorInfo when a failure occurs.
author
Reid Spencer
<rspencer@reidspencer.com>
Sat, 14 Apr 2007 17:36:20 +0000
(17:36 +0000)
committer
Reid Spencer
<rspencer@reidspencer.com>
Sat, 14 Apr 2007 17:36:20 +0000
(17:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35999
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/lib/llvm.exp
patch
|
blob
|
history
diff --git
a/test/lib/llvm.exp
b/test/lib/llvm.exp
index 780d8ff86c48f16c92334ef9aa34a3c7c241b6c2..dd0525bf8ced4532a47ce96dc93630d47595ead7 100644
(file)
--- a/
test/lib/llvm.exp
+++ b/
test/lib/llvm.exp
@@
-5,7
+5,7
@@
proc execOneLine { test outcome lineno line } {
if { $retval != 0 } {
set code [lindex $::errorCode 0]
set lineno [expr $lineno + 1]
- set errmsg " at RUN: line $lineno\n
while running: $line
\n$errmsg"
+ set errmsg " at RUN: line $lineno\n
$::errorInfo
\n$errmsg"
switch "$code" {
CHILDSTATUS {
set status [lindex $::errorCode 2]