Closed Bug 1507502 Opened 2 years ago Closed 2 years ago

Unable to run 'mach wpt' against a non-local build of fennec

Categories

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

Version 3
enhancement
Not set
normal

Tracking

(firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: gbrown, Assigned: gbrown)

Details

Attachments

(1 file)

With James having trouble running 'mach wpt' against fennec, I thought it would be useful for both of us to try running against the same build, say, from mozilla-central. However, if I download and install fennec from mozilla-central, then run 'mach wpt ... --package=org.mozilla.fennec_aurora', mach complains that org.mozilla.fennec_gbrown is not installed.
With this patch applied I can install a fennec build from mozilla-central and run against it. Just now I downloaded:

https://queue.taskcluster.net/v1/task/OTDxklNeRA6UaDncosEMOw/runs/0/artifacts/public/build/target.apk

then:

$ ./mach android-emulator --force-update && adb install ~/Downloads/target.apk && ./mach wpt testing/web-platform/tests/infrastructure --package=org.mozilla.fennec_aurora

and that worked fine.

:jgraham - What is your experience if you do the same (apply this patch, download, install and run as above)?
Attachment #9025379 - Flags: review?(wkocher)
Attachment #9025379 - Flags: feedback?(james)
Attachment #9025379 - Flags: feedback?(james) → feedback+
Comment on attachment 9025379 [details] [diff] [review]
fix check for installed package

Sorry for the delay on the review, got caught up with other things the last few days.
Attachment #9025379 - Flags: review?(wkocher) → review+
Pushed by gbrown@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/db64bea68bf3
Check for correct installed package when running mach wpt --package; r=kwierso
https://hg.mozilla.org/mozilla-central/rev/db64bea68bf3
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.