[webkit-changes] [WebKit/WebKit] 1a61da: Support finding EWS runs from GitHub PRs in update...
Sam Sneddon
noreply at github.com
Fri Dec 15 17:07:58 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1a61da068f12ccd67a405590d8022ac115fdd67c
https://github.com/WebKit/WebKit/commit/1a61da068f12ccd67a405590d8022ac115fdd67c
Author: Sam Sneddon <gsnedders at apple.com>
Date: 2023-12-15 (Fri, 15 Dec 2023)
Changed paths:
M Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/git_hub.py
A Tools/Scripts/update-test-expectations
M Tools/Scripts/update-test-expectations-from-bugzilla
M Tools/Scripts/webkitpy/common/net/bugzilla/results_fetcher.py
M Tools/Scripts/webkitpy/common/net/bugzilla/results_fetcher_unittest.py
M Tools/Scripts/webkitpy/common/net/bugzilla/test_expectation_updater.py
M Tools/Scripts/webkitpy/common/net/bugzilla/test_expectation_updater_unittest.py
Log Message:
-----------
Support finding EWS runs from GitHub PRs in update-test-expectations
https://bugs.webkit.org/show_bug.cgi?id=257158
Reviewed by Jonathan Bedard.
This adds support for fetching layout test results based on GitHub PR
statuses. To do this, we refactor test_expectation_updater to be able to
support multiple sources of layout tests results, and add various
subcommands to it. With the subcommands added, we rename the script to
update-test-expectations, and add a legacy
update-test-expectations-from-bugzilla which calls the bugzilla
subcommand.
* Tools/Scripts/libraries/webkitscmpy/webkitscmpy/mocks/remote/git_hub.py:
(GitHub._commit_response):
* Tools/Scripts/update-test-expectations: Copied from Tools/Scripts/update-test-expectations-from-bugzilla.
* Tools/Scripts/update-test-expectations-from-bugzilla:
* Tools/Scripts/webkitpy/common/net/bugzilla/results_fetcher.py:
(lookup_ews_results_from_pr):
(lookup_ews_results_from_repo_via_pr):
* Tools/Scripts/webkitpy/common/net/bugzilla/results_fetcher_unittest.py:
(ResultsFetcherTest.test_is_relevant_results):
(ResultsFetcherTest.test_lookup_ews_results_from_bugzilla):
(ResultsFetcherGitHubTest):
(ResultsFetcherGitHubTest.webserver):
* Tools/Scripts/webkitpy/common/net/bugzilla/test_expectation_updater.py:
(configure_logging.LogHandler):
(argument_parser):
(TestExpectationUpdater.__init__):
(TestExpectationUpdater.fetch_from_bugzilla):
(TestExpectationUpdater):
(TestExpectationUpdater.fetch_from_github_pr):
(TestExpectationUpdater.do_update):
(main):
* Tools/Scripts/webkitpy/common/net/bugzilla/test_expectation_updater_unittest.py:
(TestExpectationUpdaterTest.test_update_test_expectations):
Canonical link: https://commits.webkit.org/272152@main
More information about the webkit-changes
mailing list