Changeset 250919 in webkit


Ignore:
Timestamp:
Oct 9, 2019 11:40:30 AM (5 years ago)
Author:
dino@apple.com
Message:

Provide an alternate command-line flag for timeout in run-webkit-tests
https://bugs.webkit.org/show_bug.cgi?id=202758
<rdar://problem/56124032>

Reviewed by Tim Horton.

I always get the flag "--time-out-ms" wrong.
Everywhere else we use the single-word version of "timeout", including
the documentation for --time-out-ms!

Add an alternate that is just "--timeout", and update the documentation
to mention it is measured in milliseconds.

  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:

(parse_args):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r250904 r250919  
     12019-10-09  Dean Jackson  <dino@apple.com>
     2
     3        Provide an alternate command-line flag for timeout in run-webkit-tests
     4        https://bugs.webkit.org/show_bug.cgi?id=202758
     5        <rdar://problem/56124032>
     6
     7        Reviewed by Tim Horton.
     8
     9        I always get the flag "--time-out-ms" wrong.
     10        Everywhere else we use the single-word version of "timeout", including
     11        the documentation for --time-out-ms!
     12
     13        Add an alternate that is just "--timeout", and update the documentation
     14        to mention it is measured in milliseconds.
     15
     16        * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
     17        (parse_args):
     18
    1192019-10-09  youenn fablet  <youenn@apple.com>
    220
  • trunk/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py

    r244064 r250919  
    250250            help="Run all tests with PASS as expected result, even those marked SKIP in the test list or " + \
    251251                 "those which are device-specific (implies --skipped=ignore)"),
    252         optparse.make_option("--time-out-ms",
    253             help="Set the timeout for each test"),
     252        optparse.make_option("--time-out-ms", "--timeout",
     253            help="Set the timeout for each test in milliseconds"),
    254254        optparse.make_option("--order", action="store", default="natural",
    255255            help=("determine the order in which the test cases will be run. "
Note: See TracChangeset for help on using the changeset viewer.