From: mjs Date: Tue, 30 Oct 2007 01:55:13 +0000 (+0000) Subject: Reviewed by Oliver. X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=f54e634180a2e87e2ebfc6b3b728dd4ee6c27640 Reviewed by Oliver. - 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 --- diff --git a/SunSpider/ChangeLog b/SunSpider/ChangeLog index be306fb..19fa06d 100644 --- a/SunSpider/ChangeLog +++ b/SunSpider/ChangeLog @@ -1,5 +1,13 @@ 2007-10-29 Maciej Stachowiak + Reviewed by Oliver. + + - Give better error messages when sunspider-compare-results fails + + * sunspider-compare-results: + +2007-10-29 Maciej Stachowiak + Reviewed by Darin. - fix Date tests to work in command-line SpiderMonkey diff --git a/SunSpider/sunspider-compare-results b/SunSpider/sunspider-compare-results index 134c8ee..632c3cf 100755 --- a/SunSpider/sunspider-compare-results +++ b/SunSpider/sunspider-compare-results @@ -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; }