Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3a0102050694fdb27c53a60527124ed7b7e8c65f
https://github.com/WebKit/WebKit/commit/3a0102050694fdb27c53a60527124ed7b7e8c65f
Author: Dawn Morningstar <[email protected]>
Date: 2026-07-07 (Tue, 07 Jul 2026)
Changed paths:
M TestExpectations/apitests
M
Tools/Scripts/libraries/webkitexpectationspy/webkitexpectationspy/linter.py
M
Tools/Scripts/libraries/webkitexpectationspy/webkitexpectationspy/manager.py
M
Tools/Scripts/libraries/webkitexpectationspy/webkitexpectationspy/tests/linter_unittest.py
M
Tools/Scripts/libraries/webkitexpectationspy/webkitexpectationspy/tests/manager_unittest.py
M Tools/Scripts/run-api-tests
M Tools/Scripts/webkitpy/api_tests/test_expectations.py
M Tools/Scripts/webkitpy/style/checker.py
A Tools/Scripts/webkitpy/style/checkers/api_test_expectations.py
A Tools/Scripts/webkitpy/style/checkers/api_test_expectations_unittest.py
Log Message:
-----------
add an api-test style-checker for expectations
https://bugs.webkit.org/show_bug.cgi?id=318276
rdar://181067585
Reviewed by Jonathan Bedard.
this change uses the linter when someone calls git-webkit pr on a change
that modifies the api-test expectation file, and it surfaces the appropriate
warnings,
and if the change can be fixed with --fix-expectations it encourages the user
to run it
* TestExpectations/apitests:
* Tools/Scripts/libraries/webkitexpectationspy/webkitexpectationspy/manager.py:
(ExpectationsManager.fix):
*
Tools/Scripts/libraries/webkitexpectationspy/webkitexpectationspy/tests/manager_unittest.py:
* Tools/Scripts/run-api-tests:
(main):
(lint_expectations):
(parse_args):
* Tools/Scripts/webkitpy/api_tests/test_expectations.py:
(APITestExpectations.lint):
(APITestExpectations):
(APITestExpectations.fix):
* Tools/Scripts/webkitpy/style/checker.py:
(_all_categories):
(StyleProcessor.do_association_check):
Canonical link: https://commits.webkit.org/316673@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications