From c21cfe37ec5e55dbd7d3214a086412e793041144 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Thu, 13 Mar 2008 22:02:51 +0000 Subject: Fix error in testing for END. notation. Patch by Julien Lerouge. Thanks! llvm-svn: 48342 --- llvm/test/lib/llvm.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/test/lib') 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 -- cgit v1.2.3