diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-14 17:36:20 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-14 17:36:20 +0000 |
commit | bcb8674f7e3834104a2cf61855b430c17644e56f (patch) | |
tree | 77f529f8224d8c95c4af594bcba6812cb7668cf2 | |
parent | 98a72203d75c7f2c94169155626f51f10eaca530 (diff) |
Print full errorInfo when a failure occurs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35999 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/lib/llvm.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/llvm.exp b/test/lib/llvm.exp index 780d8ff86c..dd0525bf8c 100644 --- 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\nwhile running: $line\n$errmsg" + set errmsg " at RUN: line $lineno\n$::errorInfo\n$errmsg" switch "$code" { CHILDSTATUS { set status [lindex $::errorCode 2] |