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 be306fb..19fa06d 100644 (file)
@@ -1,5 +1,13 @@
 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.
         
         - fix Date tests to work in command-line SpiderMonkey
index 134c8ee..632c3cf 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;
 }