WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
257198
import-w3c-tests -s doesn't honor skip expectation
https://bugs.webkit.org/show_bug.cgi?id=257198
Summary
import-w3c-tests -s doesn't honor skip expectation
Anne van Kesteren
Reported
2023-05-23 07:12:27 PDT
In LayoutTests/imported/w3c/resources/import-expectations.json we have: "web-platform-tests/websockets": "import", "web-platform-tests/websockets/stream": "skip", However, when I run import-w3c-tests web-platform-tests/websockets -l -s ../../Documents/GitHub.nosync --clean-dest-dir I get everything from the websockets/stream directory anyway.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-05-30 07:13:15 PDT
<
rdar://problem/110004053
>
Sam Sneddon [:gsnedders]
Comment 2
2023-08-02 10:11:22 PDT
I can't reproduce this: ``` ./Tools/Scripts/import-w3c-tests --clear-dest-dir -t web-platform-tests/websockets ``` Results in: ``` % git status | grep stream Refresh index: 100% (391489/391489), done. ```
Sam Sneddon [:gsnedders]
Comment 3
2023-08-02 10:11:57 PDT
And removing `"web-platform-tests/websockets/stream": "skip"` does indeed lead it to get imported, so as far as I can tell that is working as expected.
Sam Sneddon [:gsnedders]
Comment 4
2023-08-02 16:22:51 PDT
This still fails to reproduce with `--clear-dest-dir` corrected to `--clean-dest-dir` (
bug 259750
).
Sam Sneddon [:gsnedders]
Comment 5
2023-08-17 04:11:39 PDT
So, uh, like
bug 257674
this only reproduces with `-s`. Well, that's cursed. I love when the simpler codepath is broken.
Sam Sneddon [:gsnedders]
Comment 6
2023-08-17 07:15:03 PDT
Currently, the skip logic in import-expectations.json is implemented in test_downloader.py, and thus is applied during the "download".
Sam Sneddon [:gsnedders]
Comment 7
2023-08-17 07:53:46 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/16789
EWS
Comment 8
2023-08-21 08:26:28 PDT
Committed
267088@main
(e21f2280dbbb): <
https://commits.webkit.org/267088@main
> Reviewed commits have been landed. Closing PR #16789 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug