Reviewed by Darin.
[WebKit-https.git] / SunSpider / sunspider
index ee3223223e5a627bff31138cc9093598bc0e8213..bd6436efc5a892cbda3a661495a4ab503957861a 100755 (executable)
@@ -61,6 +61,9 @@ GetOptions('runs=i' => \$testRuns,
 
 $runShark = 20 if $runShark20;
 $testRuns = 1 if $runShark;
 
 $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;
 
 if (!$jsShellPath || $showHelp) {
    print STDERR $usage;