Changeset 137517 in webkit


Ignore:
Timestamp:
Dec 12, 2012, 2:40:08 PM (12 years ago)
Author:
dpranke@chromium.org
Message:

nrwt: remove deprecated ORWT compatibility command line flags
https://bugs.webkit.org/show_bug.cgi?id=104301

Reviewed by Eric Seidel.

The command line flags for --noshow-results, --[no-]launch-safari,
and --use-remote-links-to-tests were for compatibility with
old-run-webkit-tests, but the compatibility is not needed any more
since NRWT is basically default and the scripts that passed the
old flags have been updated.

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(_set_up_derived_options):
(parse_args):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r137514 r137517  
     12012-12-12  Dirk Pranke  <dpranke@chromium.org>
     2
     3        nrwt: remove deprecated ORWT compatibility command line flags
     4        https://bugs.webkit.org/show_bug.cgi?id=104301
     5
     6        Reviewed by Eric Seidel.
     7
     8        The command line flags for --noshow-results, --[no-]launch-safari,
     9        and --use-remote-links-to-tests were for compatibility with
     10        old-run-webkit-tests, but the compatibility is not needed any more
     11        since NRWT is basically default and the scripts that passed the
     12        old flags have been updated.
     13
     14        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
     15        (_set_up_derived_options):
     16        (parse_args):
     17
    1182012-12-12  John Griggs  <jgriggs@rim.com>
    219
  • trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py

    r137189 r137517  
    167167
    168168
    169 def _compat_shim_callback(option, opt_str, value, parser):  # ignore unused variable warning - pylint: disable-msg=W0613
    170     print "Ignoring unsupported option: %s" % opt_str
    171 
    172 
    173 def _compat_shim_option(option_name, **kwargs):
    174     return optparse.make_option(option_name, action="callback",
    175         callback=_compat_shim_callback,
    176         help="Ignored, for old-run-webkit-tests compat only.", **kwargs)
    177 
    178 
    179169def parse_args(args=None):
    180     """Provides a default set of command line args.
    181 
    182     Returns a tuple of options, args from optparse"""
    183 
    184170    option_group_definitions = []
    185171
     
    219205        optparse.make_option("--root", action="store",
    220206            help="Path to a directory containing the executables needed to run tests."),
    221     ]))
    222 
    223     option_group_definitions.append(("ORWT Compatibility Options", [
    224         # FIXME: Remove this option once the bots don't refer to it.
    225         # results.html is smart enough to figure this out itself.
    226         _compat_shim_option("--use-remote-links-to-tests"),
    227207    ]))
    228208
     
    286266            help="Don't launch a browser with results after the tests "
    287267                 "are done"),
    288         # FIXME: We should have a helper function to do this sort of
    289         # deprectated mapping and automatically log, etc.
    290         optparse.make_option("--noshow-results", action="store_false", dest="show_results", help="Deprecated, same as --no-show-results."),
    291         optparse.make_option("--no-launch-safari", action="store_false", dest="show_results", help="Deprecated, same as --no-show-results."),
    292268        optparse.make_option("--full-results-html", action="store_true",
    293269            default=False,
Note: See TracChangeset for help on using the changeset viewer.