summaryrefslogtreecommitdiff
path: root/test/lib/llvm.exp
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-03-13 22:02:51 +0000
committerTanya Lattner <tonic@nondot.org>2008-03-13 22:02:51 +0000
commit200d607b45e48f9660985b60ff7c5382f1677368 (patch)
tree9c971b8c3b783e90aa4d99a023c7b262b402a857 /test/lib/llvm.exp
parentc438f35df99989ac1d1e80236d72f22ea5ec6a8c (diff)
downloadllvm-200d607b45e48f9660985b60ff7c5382f1677368.tar.gz
llvm-200d607b45e48f9660985b60ff7c5382f1677368.tar.bz2
llvm-200d607b45e48f9660985b60ff7c5382f1677368.tar.xz
Fix error in testing for END. notation.
Patch by Julien Lerouge. Thanks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48342 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lib/llvm.exp')
-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 78e3e83684..b59f341d72 100644
--- a/test/lib/llvm.exp
+++ b/test/lib/llvm.exp
@@ -119,7 +119,7 @@ proc RunLLVMTests { test_source_files } {
foreach line [split [read $testFileId] \n] {
# if its the END. line then stop parsing (optimization for big files)
- if {[regexp {END.[ *]$} $line match endofscript]} {
+ if {[regexp {END.[[:space:]]*$} $line match endofscript]} {
break
# if the line is continued, concatenate and continue the loop