mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
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:
parent
dcb925e917
commit
6b2e2be2e4
@ -106,7 +106,7 @@ proc RunLLVMTests { test_source_files } {
|
|||||||
set testFileId [ open $test r]
|
set testFileId [ open $test r]
|
||||||
set runline ""
|
set runline ""
|
||||||
set PRNUMS ""
|
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 its the END. line then stop parsing (optimization for big files)
|
||||||
if {[regexp {END.[ *]$} $line match endofscript]} {
|
if {[regexp {END.[ *]$} $line match endofscript]} {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user