Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta: Strip query string from WPT test variants before importing them #2977

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

tcl3
Copy link
Member

@tcl3 tcl3 commented Dec 19, 2024

The output of WPT.sh list-tests includes test variants, which vary only by their query string. Since we don't care about this when importing tests, ignore any query strings and ensure duplicates are removed from the given test paths.

I've also included a commit to ensure we don't swallow the output of the python importer script.

Fixes: #2976

Previously, messages printed to stdout by `import-wpt-test.py` were
being swallowed.
Meta/WPT.sh Outdated Show resolved Hide resolved
The output of `WPT.sh list-tests` includes test variants, which vary
only by their query string. Since we don't care about this when
importing tests, ignore any query strings and ensure duplicates are
removed from the given test paths.
@tcl3 tcl3 force-pushed the meta_wpt_handle_test_variants branch from ff35ab1 to 3f11b87 Compare December 19, 2024 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WPT import now includes query parameters in paths for tests with variants
2 participants