mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-03 09:21:02 +00:00
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
This commit is contained in:
parent
c438f35df9
commit
200d607b45
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user