1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00

Some tests have really long RUN line sets. Read the first 4096 bytes instead

of 1024.

llvm-svn: 36083
This commit is contained in:
Reid Spencer 2007-04-15 20:31:42 +00:00
parent 7941bdbfaa
commit 2d25f3f7b5

View File

@ -106,7 +106,7 @@ proc RunLLVMTests { test_source_files } {
set testFileId [ open $test r]
set runline ""
set PRNUMS ""
foreach line [split [read $testFileId 1024] \n] {
foreach line [split [read $testFileId 4096] \n] {
# if its the END. line then stop parsing (optimization for big files)
if {[regexp {END.[ *]$} $line match endofscript]} {