Closed Bug 1554619 Opened 5 years ago Closed 5 years ago

./mach wpt --product chrome isn't working

Categories

(Testing :: web-platform-tests, defect)

Version 3
defect
Not set
normal

Tracking

(firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: violet.bugreport, Assigned: jgraham)

Details

Attachments

(1 file)

I just found ./mach supports running WPT test for other browsers: https://developer.mozilla.org/en-US/docs/Mozilla/QA/web-platform-tests#Running_tests_in_other_browsers

But when I try it myself, I got:

$ ./mach wpt --product chrome testing/web-platform/tests/svg/geometry/svg-image-intrinsic-size-with-cssstyle-auto.html 
 0:00.01 INFO Skipping manifest download because existing file is recent
Missing hosts file configuration. Run

./wpt make-hosts-file | sudo tee -a /etc/hosts

But there is no ./wpt in the directory.

How to run WPT for Chrome?

The ./wpt in the message is probably relative to the web-platform-tests project directory, so in mozilla-central that's testing/web-platform/tests/wpt

This should't actually be necessary any more since Chrome now supports defining the hosts internally (bu would still apply to e.g. Safari). So we should fix that upstream.

Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/autoland/rev/f8109bce6099
Give wpt error message a correct path to wpt, r=ato
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/17073 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Assignee: nobody → james
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: