summaryrefslogtreecommitdiffstats
path: root/llvm/test/lib
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
commitc21cfe37ec5e55dbd7d3214a086412e793041144 (patch)
treed345927faed1c0f0981574463efcd299349c5da5 /llvm/test/lib
parente21a68bca7ef80e9960b4177e840c59033b814d5 (diff)
downloadbcm5719-llvm-c21cfe37ec5e55dbd7d3214a086412e793041144.tar.gz
bcm5719-llvm-c21cfe37ec5e55dbd7d3214a086412e793041144.zip
Fix error in testing for END. notation.
Patch by Julien Lerouge. Thanks! llvm-svn: 48342
Diffstat (limited to 'llvm/test/lib')
-rw-r--r--llvm/test/lib/llvm.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/lib/llvm.exp b/llvm/test/lib/llvm.exp
index 78e3e836840..b59f341d72b 100644
--- a/llvm/test/lib/llvm.exp
+++ b/llvm/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
OpenPOWER on IntegriCloud