[llvm-commits] CVS: llvm/test/lib/llvm.exp

Reid Spencer reid at x10sys.com
Sat Apr 14 10:36:42 PDT 2007



Changes in directory llvm/test/lib:

llvm.exp updated: 1.2 -> 1.3
---
Log message:

Print full errorInfo when a failure occurs.


---
Diffs of the changes:  (+1 -1)

 llvm.exp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/test/lib/llvm.exp
diff -u llvm/test/lib/llvm.exp:1.2 llvm/test/lib/llvm.exp:1.3
--- llvm/test/lib/llvm.exp:1.2	Sat Apr 14 11:41:39 2007
+++ llvm/test/lib/llvm.exp	Sat Apr 14 12:36:20 2007
@@ -5,7 +5,7 @@
   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]






More information about the llvm-commits mailing list