+2008-09-02 Cameron Zwarich <cwzwarich@uwaterloo.ca>
+
+ Rubber-stamped by Oliver Hunt.
+
+ Make SunSpider work with JavaScript shells that don't take filenames
+ after a '-f' argument.
+
+ * sunspider:
+
2008-06-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Timothy.
sub runTestsOnce($)
{
my ($useShark) = @_;
- my $shellArgs = "-f $prefixFile -f resources/sunspider-standalone-driver.js 2> /dev/null";
+ my $shellArgs = "$prefixFile resources/sunspider-standalone-driver.js 2> /dev/null";
my $output;
if ($useShark) {
my $intervalArg = $useShark == 20 ? "-I 20u" : "";
dumpToFile($output, $resultsFile);
dumpToFile(File::Spec->rel2abs($resultsFile), "tmp/baseline-filename.txt") if $setBaseline;
-system("$jsShellPath", "-f", $prefixFile, "-f", $resultsFile, "-f", "resources/sunspider-analyze-results.js");
+system("$jsShellPath", $prefixFile, $resultsFile, "resources/sunspider-analyze-results.js");
if ($runShark) {
my $newestMShark = newestFile(".", qr/\.mshark$/);