Reviewed by Oliver.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Oct 2007 01:55:13 +0000 (01:55 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Oct 2007 01:55:13 +0000 (01:55 +0000)
        - Give better error messages when sunspider-compare-results fails

        * sunspider-compare-results:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27247 268f45cc-cd09-0410-ab3c-d52691b4dbfc

SunSpider/ChangeLog
SunSpider/sunspider-compare-results

index be306fb3e2d2c69bb03a89c69d9f9977b8631796..19fa06db118711071cefb8554ec5e6c29195c820 100644 (file)
@@ -1,3 +1,11 @@
+2007-10-29  Maciej Stachowiak  <mjs@apple.com>
+
+        Reviewed by Oliver.
+        
+        - Give better error messages when sunspider-compare-results fails
+
+        * sunspider-compare-results:
+
 2007-10-29  Maciej Stachowiak  <mjs@apple.com>
 
         Reviewed by Darin.
index 134c8eee0c3a38295b1bfa48d8c22919cc407959..632c3cf88b08f163f0652e229cc38112c0ff3238 100755 (executable)
@@ -79,7 +79,8 @@ sub readResultsFile($)
     }
     close FILE;
 
-    die "Cound not find data in file - needs to be bracketed by [{ and }]." unless ($foundStart && $foundEnd);
+    die "Cound not find data in ${filename} - needs to start with [{" unless $foundStart;
+    die "Cound not find data in ${filename} - needs to end with }]" unless $foundEnd;
 
     return $result;
 }