Tools/ChangeLog

 12019-11-18 Jonathan Bedard <jbedard@apple.com>
 2
 3 [WebGL] Add `--webgl` flag for run-webkit-tests
 4 https://bugs.webkit.org/show_bug.cgi?id=204327
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
 9 (parse_args): Add the --webgl macro command, which is the equivalent of:
 10 'Run-webkit-tests --additional-expectations=LayoutTests/webgl/TestExpectations webgl'
 11
1122019-11-18 Andres Gonzalez <andresg_22@apple.com>
213
314 Run AccessibilityController::rootElement on secondary thread to simulate HIServices during LayoutTests.
252613

Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py

@@def parse_args(args):
311311 ]))
312312
313313 option_group_definitions.append(("Miscellaneous Options", [
314  optparse.make_option("--lint-test-files", action="store_true",
315  default=False, help=("Makes sure the test files parse for all "
316  "configurations. Does not run any tests.")),
317  optparse.make_option("--print-expectations", action="store_true",
318  default=False, help=("Print the expected outcome for the given test, or all tests listed in TestExpectations. "
319  "Does not run any tests.")),
 314 optparse.make_option(
 315 "--lint-test-files", action="store_true", default=False,
 316 help=("Makes sure the test files parse for all configurations. Does not run any tests.")),
 317 optparse.make_option(
 318 "--print-expectations", action="store_true", default=False,
 319 help=("Print the expected outcome for the given test, or all tests listed in TestExpectations. Does not run any tests.")),
 320 optparse.make_option(
 321 "--webgl", action="store_true", default=False,
 322 help=("Run exhaustive webgl list, including test ordinarily skipped for performance reasons. Equivalent to '--additional-expectations=LayoutTests/webgl/TestExpectations webgl'")),
320323 ]))
321324
322325 option_group_definitions.append(("Web Platform Test Server Options", [

@@def parse_args(args):
351354 option_group.add_options(group_options)
352355 option_parser.add_option_group(option_group)
353356
354  return option_parser.parse_args(args)
 357 args = option_parser.parse_args(args)
 358 if args[0].webgl:
 359 if not args[1]:
 360 args[1].append('webgl')
 361 host = Host()
 362 host.initialize_scm()
 363 args[0].additional_expectations.insert(0, host.filesystem.join(host.scm().checkout_root, 'LayoutTests/webgl/TestExpectations'))
 364 return args
355365
356366
357367def _print_expectations(port, options, args, logging_stream):
252605