Changeset 89136 in webkit


Ignore:
Timestamp:
Jun 17, 2011 8:06:29 AM (13 years ago)
Author:
dbates@webkit.org
Message:

2011-06-17 Daniel Bates <dbates@rim.com>

Rubber-stamped by Eric Seidel.

Remove run-javascriptcore-tests --skip-build option; Instead add --build/no-build options
https://bugs.webkit.org/show_bug.cgi?id=62767

Part 1 of 3

Towards renaming the option --skip-build to --no-build. Add --build/--no-build options to
run-javascriptcore-tests. Also, add a remark about these options to the usage message
printed by run-javascriptcore-tests.

We'll remove --skip-build in a follow up patch once the master buildbot picks up the changes.

  • Scripts/run-javascriptcore-tests: Additionally, remove unnecessary initialization of $showHelp.
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r89133 r89136  
     12011-06-17  Daniel Bates  <dbates@rim.com>
     2
     3        Rubber-stamped by Eric Seidel.
     4
     5        Remove run-javascriptcore-tests --skip-build option; Instead add --build/no-build options
     6        https://bugs.webkit.org/show_bug.cgi?id=62767
     7
     8        Part 1 of 3
     9
     10        Towards renaming the option --skip-build to --no-build. Add --build/--no-build options to
     11        run-javascriptcore-tests. Also, add a remark about these options to the usage message
     12        printed by run-javascriptcore-tests.
     13
     14        We'll remove --skip-build in a follow up patch once the master buildbot picks up the changes.
     15
     16        * Scripts/run-javascriptcore-tests: Additionally, remove unnecessary initialization
     17          of $showHelp.
     18
    1192011-06-17  Joone Hur  <joone.hur@collabora.co.uk>
    220
  • trunk/Tools/Scripts/run-javascriptcore-tests

    r75406 r89136  
    5555
    5656my $jsDriverArgs = "-L " . join(" ", @testsToSkip);
    57 my $root; # intentionally left undefined
    58 my $skipBuild = 0;
    59 my $showHelp = 0;
     57# These variables are intentionally left undefined.
     58my $root;
     59my $showHelp;
     60my $skipBuild;
     61
     62my $buildJSC = 1;
    6063
    6164my $programName = basename($0);
     65my $buildJSCDefault = $buildJSC ? "will check" : "will not check";
    6266my $usage = <<EOF;
    6367Usage: $programName [options] [options to pass to build system]
     
    6569  --jsDriver-args=              A string of arguments to pass to jsDriver.pl
    6670  --root=                       Path to pre-built root containing jsc
     71  --[no-]build                  Check (or don't check) to see if the jsc build is up-to-date (default: $buildJSCDefault)
    6772EOF
    6873
     
    7075    'j|jsDriver-args=s' => \$jsDriverArgs,
    7176    'root=s' => \$root,
     77    'build!' => \$buildJSC,
    7278    'skip-build' => \$skipBuild,
    7379    'help' => \$showHelp
    7480);
    7581
     82# FIXME: We'll remove this and the --skip-build option once we change over the buildbot configuration
     83# to use --no-build. See <https://bugs.webkit.org/show_bug.cgi?id=62767> for more details.
     84$buildJSC = 0 if $skipBuild;
     85
    7686# Assume any arguments left over from GetOptions are assumed to be build arguments
    7787my @buildArgs = @ARGV;
     
    8797setConfigurationProductDir(Cwd::abs_path($root)) if (defined($root));
    8898
    89 if (!defined($root) && !$skipBuild) {
     99if (!defined($root) && $buildJSC) {
    90100    chdirWebKit();
    91101
Note: See TracChangeset for help on using the changeset viewer.