Changes in directory llvm/test/lib:
llvm.exp updated: 1.12 -> 1.13 --- Log message: Two changes: 1. Don't bother truncating reading of the file. It doesn't save that much time and we should support putting RUN lines anywhere in the file. For example, someone might want to put the grep match before each function in the test file which would sprinkle the RUN: lines throughout the file. 2. Fix a bug with llvmgcc version match .. global var wasn't declared as such --- Diffs of the changes: (+2 -2) llvm.exp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/test/lib/llvm.exp diff -u llvm/test/lib/llvm.exp:1.12 llvm/test/lib/llvm.exp:1.13 --- llvm/test/lib/llvm.exp:1.12 Sun Apr 15 15:31:42 2007 +++ llvm/test/lib/llvm.exp Sun Apr 15 15:43:36 2007 @@ -76,7 +76,7 @@ } proc RunLLVMTests { test_source_files } { - global srcroot objroot srcdir objdir subdir target_triplet + global srcroot objroot srcdir objdir subdir target_triplet llvmgcc_version set timeout 60 set path [file join $objdir $subdir] @@ -106,7 +106,7 @@ set testFileId [ open $test r] set runline "" set PRNUMS "" - foreach line [split [read $testFileId 4096] \n] { + foreach line [split [read $testFileId] \n] { # if its the END. line then stop parsing (optimization for big files) if {[regexp {END.[ *]$} $line match endofscript]} { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits