forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wpt-importer] Allow specifying file and ports to write expectations
`write_to_test_expectations(...)` should accept a file to modify and ports affected by that file instead of a `flag_specific` argument, which is not flexible enough to update `ChromeTestExpectations`. Now, for simplifying tags, derive ports directly from builder/step name pairs. Since we now pass `WebTestResults` directly to `write_to_test_expectations(...)`, also clean up the intermediate expectations format (dict/SimpleTestResult/DesktopConfig). Bug: 1502294 Test: git cl patch crrev.com/c/5038396/1 Test: ./lint_test_expectations.py (regenerate manifest) Test: ./wpt_update_expectations.py --patchset=1 Test: `.../has-nesting.html [ Failure ]` written for all platforms Change-Id: Ib2c87357c3d31db4621c926f55ebb2140445e665 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5035304 Commit-Queue: Jonathan Lee <jonathanjlee@google.com> Reviewed-by: Weizhong Xia <weizhong@google.com> Cr-Commit-Position: refs/heads/main@{#1226914}
- Loading branch information
1 parent
3d3490a
commit d6d4965
Showing
3 changed files
with
108 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.