[webkit-changes] [WebKit/WebKit] 0df1e3: [run-api-tests] Limit log lines for tests
Jonathan Bedard
noreply at github.com
Fri Oct 20 12:32:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0df1e37069766b6f679f83adafcedba26481c255
https://github.com/WebKit/WebKit/commit/0df1e37069766b6f679f83adafcedba26481c255
Author: Jonathan Bedard <jbedard at apple.com>
Date: 2023-10-20 (Fri, 20 Oct 2023)
Changed paths:
M Tools/Scripts/webkitpy/api_tests/runner.py
Log Message:
-----------
[run-api-tests] Limit log lines for tests
https://bugs.webkit.org/show_bug.cgi?id=263446
rdar://117265047
Reviewed by Aakash Jain.
Limit the number of logging lines a single API test can
output. By default, limit a given test to 250 lines.
* Tools/Scripts/webkitpy/api_tests/runner.py:
(setup_shard): Pass log_limit.
(Runner.__init__): Ditto.
(Runner.run): Ditto.
(_Worker): Ditto.
(_Worker.setup): Ditto.
(_Worker.__init__): Ditto.
(_Worker._run_single_test): Count number of log lines, and
fail test if we exceed the log limit.
(_Worker.run): Ditto.
Canonical link: https://commits.webkit.org/269576@main
More information about the webkit-changes
mailing list