Closed Bug 1543244 Opened 7 months ago Closed 7 months ago

Add wpt support to `./mach addtest`

Categories

(Firefox Build System :: General, task)

task
Not set

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: bgrins, Assigned: jgraham)

References

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

Spinning this out into a new bug. There's a patch at https://phabricator.services.mozilla.com/D26339 that refactors the initial addtest implementation to support wpt.

Type: defect → task

Add addtest support for per-suite arguments and multiple files. Also
support opening the created test in an editor. This allowed supporting
the wpt suite and replaces mach wpt-create.

Create a wpt test

./mach addtest testing/web-platform/tests/accelerometer/test.html

Create a wpt reftest

./mach addtest --suite wpt-reftesttesting/web-platform/tests/css/example.html --ref example-ref.html

The files created will be opened in the default editor if --editor is
supplied or a specified editor if the argument is given a value.

Assignee: nobody → james
Status: NEW → ASSIGNED
Attachment #9057090 - Attachment description: Bug 1540285 - Refactor mach addtest support, → Bug 1543244 - Refactor mach addtest support,
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/autoland/rev/040df193736f
Refactor mach addtest support, r=ahal,bgrins
Keywords: dev-doc-needed
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
See Also: → 1564425
You need to log in before you can comment on or make changes to this bug.