summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-15 18:38:42 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-15 18:38:42 +0000
commit601e845d6088dc9115032b73404feeb4279abf77 (patch)
tree122a867e5fe3ccc062dd4425f73475becf3253ea /test/lib
parentedca80b5e86363c6e4d5cfeedd6940d991355333 (diff)
downloadllvm-601e845d6088dc9115032b73404feeb4279abf77.tar.gz
llvm-601e845d6088dc9115032b73404feeb4279abf77.tar.bz2
llvm-601e845d6088dc9115032b73404feeb4279abf77.tar.xz
Allow lines that have \ and end in \ to be recognized as ending in \
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36074 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/llvm.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/llvm.exp b/test/lib/llvm.exp
index 3002d11bd4..1655547cde 100644
--- a/test/lib/llvm.exp
+++ b/test/lib/llvm.exp
@@ -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