OSDN Git Service

Some tests have really long RUN line sets. Read the first 4096 bytes instead
authorReid Spencer <rspencer@reidspencer.com>
Sun, 15 Apr 2007 20:31:42 +0000 (20:31 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 15 Apr 2007 20:31:42 +0000 (20:31 +0000)
of 1024.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36083 91177308-0d34-0410-b5e6-96231b3b80d8

test/lib/llvm.exp

index 1655547..f508c8c 100644 (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]} {