projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c438f35
)
Fix error in testing for END. notation.
author
Tanya Lattner
<tonic@nondot.org>
Thu, 13 Mar 2008 22:02:51 +0000
(22:02 +0000)
committer
Tanya Lattner
<tonic@nondot.org>
Thu, 13 Mar 2008 22:02:51 +0000
(22:02 +0000)
Patch by Julien Lerouge. Thanks!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48342
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/lib/llvm.exp
patch
|
blob
|
history
diff --git
a/test/lib/llvm.exp
b/test/lib/llvm.exp
index 78e3e836840fc12b3c3dcfba89fbfe907b2617a3..b59f341d72b1f0e3fe41018fdbe8cdb22aa4ccdf 100644
(file)
--- 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