summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
fe41943)
https://bugs.webkit.org/show_bug.cgi?id=134341
Patch by Gergo Balogh <gbalogh.u-szeged@partner.samsung.com> on 2014-07-03
Reviewed by Csaba Osztrogonác.
* Scripts/run-sunspider:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@170750
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-07-03 Gergo Balogh <gbalogh.u-szeged@partner.samsung.com>
+
+ Add option to specify jsc args in run-sunspider.
+ https://bugs.webkit.org/show_bug.cgi?id=134341
+
+ Reviewed by Csaba Osztrogonác.
+
+ * Scripts/run-sunspider:
+
2014-07-02 Carlos Alberto Lopez Perez <clopez@igalia.com>
[GTK] Unreviewed gardening.
2014-07-02 Carlos Alberto Lopez Perez <clopez@igalia.com>
[GTK] Unreviewed gardening.
my $showHelp = 0;
my $testsPattern;
my $noBuild = 0;
my $showHelp = 0;
my $testsPattern;
my $noBuild = 0;
my $programName = basename($0);
my $usage = <<EOF;
Usage: $programName [options] [options to pass to build system]
--help Show this help message
--set-baseline Set baseline for future comparisons
my $programName = basename($0);
my $usage = <<EOF;
Usage: $programName [options] [options to pass to build system]
--help Show this help message
--set-baseline Set baseline for future comparisons
+ --args Arguments to pass to JavaScript shell
--root Path to root tools build
--runs Number of times to run tests (default: $testRuns)
--tests Only run tests matching provided pattern
--root Path to root tools build
--runs Number of times to run tests (default: $testRuns)
--tests Only run tests matching provided pattern
GetOptions('root=s' => sub { my ($x, $value) = @_; $root = $value; setConfigurationProductDir(Cwd::abs_path($root)); },
'runs=i' => \$testRuns,
'set-baseline' => \$setBaseline,
GetOptions('root=s' => sub { my ($x, $value) = @_; $root = $value; setConfigurationProductDir(Cwd::abs_path($root)); },
'runs=i' => \$testRuns,
'set-baseline' => \$setBaseline,
+ 'args=s' => \$jsShellArgs,
'instruments' => \$runInstruments,
'suite=s' => \$suite,
'ubench' => \$ubench,
'instruments' => \$runInstruments,
'suite=s' => \$suite,
'ubench' => \$ubench,
push @args, "--v8-suite" if $v8suite;
push @args, "--parse-only" if $parseonly;
push @args, "--tests", $testsPattern if $testsPattern;
push @args, "--v8-suite" if $v8suite;
push @args, "--parse-only" if $parseonly;
push @args, "--tests", $testsPattern if $testsPattern;
+push @args, "--args", $jsShellArgs if $jsShellArgs;
exec currentPerlPath(), "./sunspider", @args;
exec currentPerlPath(), "./sunspider", @args;