⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 252711 in webkit


Ignore:
Timestamp:
Nov 20, 2019, 2:45:25 PM (7 years ago)
Author:
Jonathan Bedard
Message:

[WebGL] Add --webgl-test-suite flag for run-webkit-tests
https://bugs.webkit.org/show_bug.cgi?id=204327

Rubber-stamped by Aakash Jain.

Tools:

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(parse_args): Add the --webgl macro command, which is the equivalent of:
'Run-webkit-tests --additional-expectations=LayoutTests/webgl/TestExpectations webgl'

LayoutTests:

  • webgl/TestExpectations: Added.
Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r252710 r252711  
     12019-11-20  Jonathan Bedard  <jbedard@apple.com>
     2
     3        [WebGL] Add `--webgl-test-suite` flag for run-webkit-tests
     4        https://bugs.webkit.org/show_bug.cgi?id=204327
     5
     6        Rubber-stamped by Aakash Jain.
     7
     8        * webgl/TestExpectations: Added.
     9
    1102019-11-20  Myles C. Maxfield  <mmaxfield@apple.com>
    211
  • trunk/Tools/ChangeLog

    r252707 r252711  
     12019-11-20  Jonathan Bedard  <jbedard@apple.com>
     2
     3        [WebGL] Add `--webgl-test-suite` flag for run-webkit-tests
     4        https://bugs.webkit.org/show_bug.cgi?id=204327
     5
     6        Rubber-stamped by Aakash Jain.
     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-20  ChangSeok Oh  <changseok@webkit.org>
    213
  • trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py

    r250919 r252711  
    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-test-suite", 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
     
    352355        option_parser.add_option_group(option_group)
    353356
    354     return option_parser.parse_args(args)
     357    options, args = option_parser.parse_args(args)
     358    if options.webgl_test_suite:
     359        if not args:
     360            args.append('webgl')
     361        host = Host()
     362        host.initialize_scm()
     363        options.additional_expectations.insert(0, host.filesystem.join(host.scm().checkout_root, 'LayoutTests/webgl/TestExpectations'))
     364    return options, args
    355365
    356366
Note: See TracChangeset for help on using the changeset viewer.