Changeset 137517 in webkit
- Timestamp:
- Dec 12, 2012, 2:40:08 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r137514 r137517 1 2012-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 1 18 2012-12-12 John Griggs <jgriggs@rim.com> 2 19 -
trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
r137189 r137517 167 167 168 168 169 def _compat_shim_callback(option, opt_str, value, parser): # ignore unused variable warning - pylint: disable-msg=W0613170 print "Ignoring unsupported option: %s" % opt_str171 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 179 169 def parse_args(args=None): 180 """Provides a default set of command line args.181 182 Returns a tuple of options, args from optparse"""183 184 170 option_group_definitions = [] 185 171 … … 219 205 optparse.make_option("--root", action="store", 220 206 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"),227 207 ])) 228 208 … … 286 266 help="Don't launch a browser with results after the tests " 287 267 "are done"), 288 # FIXME: We should have a helper function to do this sort of289 # 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."),292 268 optparse.make_option("--full-results-html", action="store_true", 293 269 default=False,
Note:
See TracChangeset
for help on using the changeset viewer.