Strip carriage returns from results
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Oct 2007 23:23:28 +0000 (23:23 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Oct 2007 23:23:28 +0000 (23:23 +0000)
        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

SunSpider/ChangeLog
SunSpider/sunspider

index e68b154..05cf038 100644 (file)
@@ -1,3 +1,14 @@
+2007-10-25  Adam Roben  <aroben@apple.com>
+
+        Strip carriage returns from results
+
+        Carriage returns were screwing up sunspider-compare-results on
+        Windows.
+
+        Rubberstamped by Oliver.
+
+        * sunspider:
+
 2007-10-24  Darin Adler  <darin@apple.com>
 
         Reviewed by Eric.
index 70d7210..9a954e6 100755 (executable)
@@ -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;