From: aroben Date: Thu, 25 Oct 2007 23:23:28 +0000 (+0000) Subject: Strip carriage returns from results X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=1aee65f9dca317ff1f4a9eec4dff584c5bbef73b Strip carriage returns from results Carriage returns were screwing up sunspider-compare-results on Windows. Rubberstamped by Oliver. * sunspider: git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27075 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/SunSpider/ChangeLog b/SunSpider/ChangeLog index e68b1549d024..05cf038c1607 100644 --- a/SunSpider/ChangeLog +++ b/SunSpider/ChangeLog @@ -1,3 +1,14 @@ +2007-10-25 Adam Roben + + Strip carriage returns from results + + Carriage returns were screwing up sunspider-compare-results on + Windows. + + Rubberstamped by Oliver. + + * sunspider: + 2007-10-24 Darin Adler Reviewed by Eric. diff --git a/SunSpider/sunspider b/SunSpider/sunspider index 70d7210345a1..9a954e6890fc 100755 --- a/SunSpider/sunspider +++ b/SunSpider/sunspider @@ -131,6 +131,7 @@ my $total = 0; print "["; while ($count++ < $testRuns) { $result = runTestsOnce($runShark); + $result =~ s/\r\n/\n/g; chomp $result; push @results, $result; print $result;