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):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@250919 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Tools/ChangeLog b/Tools/ChangeLog
index 2c07f7a..ce9322a 100644
--- a/Tools/ChangeLog
+++ b/Tools/ChangeLog
@@ -1,3 +1,21 @@
+2019-10-09 Dean Jackson <dino@apple.com>
+
+ 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):
+
2019-10-09 youenn fablet <youenn@apple.com>
Remove testRunner.setWebRTCUnifiedPlanEnabled
diff --git a/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py b/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
index 0804745..f5c8d7b 100755
--- a/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
+++ b/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
@@ -249,8 +249,8 @@
optparse.make_option("--force", action="store_true", default=False,
help="Run all tests with PASS as expected result, even those marked SKIP in the test list or " + \
"those which are device-specific (implies --skipped=ignore)"),
- optparse.make_option("--time-out-ms",
- help="Set the timeout for each test"),
+ optparse.make_option("--time-out-ms", "--timeout",
+ help="Set the timeout for each test in milliseconds"),
optparse.make_option("--order", action="store", default="natural",
help=("determine the order in which the test cases will be run. "
"'none' == use the order in which the tests were listed either in arguments or test list, "