Closed Bug 1638424 Opened 4 years ago Closed 4 years ago

Translate WPT paths in the test path filter

Categories

(Tree Management :: Treeherder: Frontend, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ahal, Assigned: armenzg)

Details

Attachments

(1 file)

Edwin recently landed WPT chunking in the taskgraph, which enables test path filtering for this suite.. yay!

However, WPT group ids are different from other suites (they aren't relative paths from the topsrcdir). So while you can pass in an ID directly and it will work fine (e.g /WebCryptoAPI), passing the relative path from topsrcdir does not (e.g testing/web-platform/tests/WebCryptoAPI).

I suspect many developers will attempt to do the latter and not understand why it isn't working. Treeherder could help them out by doing the translation for them. Basically we need the following translations:

testing/web-platform/tests/<path> => /<path>
testing/web-platform/mozilla/tests/<path> => /_mozilla/<path>

I believe this should work for both test and group ids.

I fixed this back on July 24th.

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: