mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-04 08:27:50 +00: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:
parent
2baeaae8f4
commit
d033c77ea3
@ -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]} {
|
||||
|
Loading…
x
Reference in New Issue
Block a user