Skip to content

Add support for product plugins to wptrunner/wpt run#58022

Merged
gsnedders merged 7 commits intoweb-platform-tests:masterfrom
gsnedders:wptrunner_product_plugins
Mar 14, 2026
Merged

Add support for product plugins to wptrunner/wpt run#58022
gsnedders merged 7 commits intoweb-platform-tests:masterfrom
gsnedders:wptrunner_product_plugins

Conversation

@gsnedders
Copy link
Member

@gsnedders gsnedders commented Feb 25, 2026

This builds on top of #57503, adding the ability to define products external to wptrunner. It probably makes sense to review that (the first commit on this branch) separately.

@gsnedders gsnedders force-pushed the wptrunner_product_plugins branch from 9d39828 to 3b512e5 Compare February 25, 2026 02:26
@gsnedders gsnedders marked this pull request as ready for review February 25, 2026 18:41
@wpt-pr-bot wpt-pr-bot added docs infra wpt wptrunner The automated test runner, commonly called through ./wpt run labels Feb 25, 2026
Copy link

@emw-apple emw-apple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool, makes sense to me!

@gsnedders gsnedders force-pushed the wptrunner_product_plugins branch 2 times, most recently from 5d3b993 to 3e2b48b Compare March 13, 2026 02:03
There's no point in large numbers of subclasses providing no-op
implementations for a lot of these methods; the superclass may as well
do it itself.
setup_kwargs has a clear, obvious no-op implementation, and is
practically required already.

ServoLegacy doesn't need to repeat what it inherits from Servo.
Since commit ca1d42c (June 14, 2017), which introduced the `wpt`
command as a unified entry point, localpaths has been imported at the
module level in tools/wpt/wpt.py before any command modules are loaded.

Therefore, sys.path is guaranteed to include wptrunner and other tools
before tools/wpt/run.py and tools/wpt/update.py are imported.
@gsnedders gsnedders force-pushed the wptrunner_product_plugins branch from 3e2b48b to b04a204 Compare March 13, 2026 23:29
@gsnedders gsnedders merged commit 378adb7 into web-platform-tests:master Mar 14, 2026
37 checks passed
@gsnedders gsnedders deleted the wptrunner_product_plugins branch March 14, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs infra wpt wptrunner The automated test runner, commonly called through ./wpt run

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants