From: ap@webkit.org Date: Sat, 10 Nov 2007 07:50:20 +0000 (+0000) Subject: Reviewed by Darin. X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=17086df344d9d66fab6e610080b717ae63caab22;hp=d1420c9666065e7d2219bf8d935d459ef49ee918 Reviewed by Darin. http://bugs.webkit.org/show_bug.cgi?id=15925 SunSpider should check for Shark being installed * sunspider: Explicitly test that shark command line tool is installed. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27662 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/SunSpider/ChangeLog b/SunSpider/ChangeLog index cfad82c..fdf9262 100644 --- a/SunSpider/ChangeLog +++ b/SunSpider/ChangeLog @@ -1,3 +1,12 @@ +2007-11-09 Alexey Proskuryakov + + Reviewed by Darin. + + http://bugs.webkit.org/show_bug.cgi?id=15925 + SunSpider should check for Shark being installed + + * sunspider: Explicitly test that shark command line tool is installed. + 2007-11-04 Darin Adler * hosted/sunspider.html: Tweaked formatting a bit. diff --git a/SunSpider/sunspider b/SunSpider/sunspider index ee32232..bd6436e 100755 --- a/SunSpider/sunspider +++ b/SunSpider/sunspider @@ -61,6 +61,9 @@ GetOptions('runs=i' => \$testRuns, $runShark = 20 if $runShark20; $testRuns = 1 if $runShark; +if ($runShark && ! -x "/usr/bin/shark") { + die "Please install CHUD tools from http://developer.apple.com/tools/download/\n"; +} if (!$jsShellPath || $showHelp) { print STDERR $usage;