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

of 1024.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36083 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2007-04-15 20:31:42 +00:00
parent dcb925e917
commit 6b2e2be2e4

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]} {