Open Bug 1418363 Opened 2 years ago Updated 2 years ago

test-verify-wpt could make better determination of tests changed


(Testing :: General, enhancement, P3)



(Not tracked)


(Reporter: gbrown, Unassigned)


(Blocks 1 open bug)


The initial implementation of test-verify-wpt simply assesses, for each changed file, is that file a test path in the web-platform test manifest? There is existing wpt code that does a better job of this and could probably be re-used with minor adjustments.

As pointed out by jgraham in

So, wpt also has a function to get a list of affected tests (and types) from a list of changed files, see [1]. We don't need to switch to that as a prerequisite to landing this, but it does try to do a little better than just checking which changed files are tests because it tries to figure out if the file is a support file that's used by some other test that will be run. Switching to that will make this work just like upstream in terms of the tests that are run, which is what we ideally want.

Blocks: test-verify
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.