Changeset 155101 in webkit
- Timestamp:
- Sep 5, 2013, 12:18:58 AM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r155098 r155101 1 2013-09-05 Filip Pizlo <fpizlo@apple.com> 2 3 Unreviewed, don't rely on File::Slurp. This fixes part #1 of Linux bot breakage. 4 5 * Scripts/run-javascriptcore-tests: 6 (readAllLines): 7 1 8 2013-09-04 Filip Pizlo <fpizlo@apple.com> 2 9 -
trunk/Tools/Scripts/run-javascriptcore-tests
r155098 r155101 32 32 33 33 use strict; 34 use File::Slurp;35 34 use FindBin; 36 35 use Getopt::Long qw(:config pass_through); … … 217 216 } 218 217 218 sub readAllLines 219 { 220 my ($filename) = @_; 221 my @array = (); 222 eval { 223 open FILE, $filename or die; 224 while (<FILE>) { 225 push @array, $_; 226 } 227 close FILE; 228 }; 229 return @array; 230 } 231 219 232 sub printThingsFound 220 233 { … … 229 242 } 230 243 231 my @fastJSFailList = eval { read_file($fastJSResultsDir . "/failed") };232 my @fastJSCrashList = eval { read_file($fastJSResultsDir . "/crashed") };244 my @fastJSFailList = readAllLines($fastJSResultsDir . "/failed"); 245 my @fastJSCrashList = readAllLines($fastJSResultsDir . "/crashed"); 233 246 my $numJSFailures = @fastJSFailList; 234 247 my $numJSCrashes = @fastJSCrashList;
Note:
See TracChangeset
for help on using the changeset viewer.