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

Reid Spencer reid at x10sys.com
Sat Apr 14 11:51:40 PDT 2007



Changes in directory llvm/test/lib:

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

1. Don't generate redundant copy of stderr
2. Only match \ at the *end* of a line.


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

 llvm.exp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/test/lib/llvm.exp
diff -u llvm/test/lib/llvm.exp:1.3 llvm/test/lib/llvm.exp:1.4
--- llvm/test/lib/llvm.exp:1.3	Sat Apr 14 12:36:20 2007
+++ llvm/test/lib/llvm.exp	Sat Apr 14 13:51:19 2007
@@ -5,7 +5,7 @@
   if { $retval != 0 } {
     set code [lindex $::errorCode 0]
     set lineno [expr $lineno + 1]
-    set errmsg " at RUN: line $lineno\n$::errorInfo\n$errmsg"
+    set errmsg " at RUN: line $lineno\n$::errorInfo"
     switch "$code" {
       CHILDSTATUS {
         set status [lindex $::errorCode 2]
@@ -101,7 +101,7 @@
       #see if this is our run line
       if {[regexp {END.[ *]$} $line match endofscript]} {
         break
-      } elseif {[regexp {RUN: *([^\\]+)(\\)} $line match oneline suffix]} {
+      } elseif {[regexp {RUN: *([^\\]+)(\\)$} $line match oneline suffix]} {
         set runline "$runline$oneline "
       } elseif {[regexp {RUN: *([^&]+)(&&)?} $line match oneline suffix]} {
         set runline "$runline$oneline"






More information about the llvm-commits mailing list