OSDN Git Service

Allow lines that have \ and end in \ to be recognized as ending in \
authorReid Spencer <rspencer@reidspencer.com>
Sun, 15 Apr 2007 18:38:42 +0000 (18:38 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 15 Apr 2007 18:38:42 +0000 (18:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36074 91177308-0d34-0410-b5e6-96231b3b80d8

test/lib/llvm.exp

index 3002d11..1655547 100644 (file)
@@ -113,7 +113,7 @@ proc RunLLVMTests { test_source_files } {
         break
 
       # if the line is continued, concatente and continue the loop
-      } elseif {[regexp {RUN: *([^\\]+)(\\)$} $line match oneline suffix]} {
+      } elseif {[regexp {RUN: *(.+)(\\)$} $line match oneline suffix]} {
         set runline "$runline$oneline "
 
       # if its a terminating RUN: line then do substitution on the whole line