Closed
Bug 1260888
Opened 9 years ago
Closed 9 years ago
Enable extension xpcshell tests to run on Android.
Categories
(WebExtensions :: Untriaged, defect)
WebExtensions
Untriaged
Tracking
(firefox48 fixed)
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: mattw, Assigned: mattw)
References
Details
Attachments
(1 file)
Enable extension xpcshell tests to run on Android.
Assignee | ||
Updated•9 years ago
|
Summary: Enable mochitests for extensions to run on Android → Enable extension xpcshell tests to run on Android.
Assignee | ||
Comment 1•9 years ago
|
||
Assignee | ||
Comment 2•9 years ago
|
||
If I did the try run correctly, then I think enabling the tests is all that needs to be done here.
Assignee | ||
Comment 3•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/43389/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/43389/
Attachment #8736565 -
Flags: review?(nalexander)
Comment 4•9 years ago
|
||
(In reply to Matthew Wein [:mattw] from comment #2)
> If I did the try run correctly, then I think enabling the tests is all that
> needs to be done here.
Sadly that try run didn't run any xpcshell tests; there would be X's. I would try:
hg push-to-try -m "try: -b o -p android-api-15,android-x86 -u xpcshell"
Comment 5•9 years ago
|
||
A quick read through https://dxr.mozilla.org/mozilla-central/source/toolkit/components/extensions/test/xpcshell/ suggests these will be green, but one never knows for sure.
Comment 6•9 years ago
|
||
I added the xpcshell jobs to the try run, and it looks like you have a failure: https://treeherder.mozilla.org/logviewer.html#?job_id=18868129&repo=try
Assignee | ||
Comment 7•9 years ago
|
||
I disabled the failing test on android and created a follow-up bug to fix it because it doesn't seem like the fix is trivial.
Kris suggested that the issue might be in the way we're setting up the xpcshell tests. I'm basically going to copy now what he told me over IRC: Specifically, the firefox-appdir in xpcshell.ini is set to `browser` when that might not work on fennec. We can't just update the firefox-appdir to 'mobile/android' because you can't set two appdirs in the same manifest. If we need to make that kind of change, the two options are to either skip the test on Android, or add another manifest that's android-specific. There might be a better option, but I don't know one off the top of my head.
Assignee | ||
Comment 8•9 years ago
|
||
Follow-up bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1261253
Assignee | ||
Comment 9•9 years ago
|
||
Comment on attachment 8736565 [details]
MozReview Request: Bug 1260888 - Enable the extension xpcshell tests on Android.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/43389/diff/1-2/
Attachment #8736565 -
Attachment description: MozReview Request: Bug 1260888 Enable the extension xpcshell tests on Android. r?nalexander → MozReview Request: Bug 1260888 Enable the extension xpcshell tests on Android. try: -b o -p android-api-15,android-x86 -u xpcshell
Assignee | ||
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
Comment on attachment 8736565 [details]
MozReview Request: Bug 1260888 - Enable the extension xpcshell tests on Android.
Clearing review -- this has been addressed.
Attachment #8736565 -
Flags: review?(nalexander)
Assignee | ||
Updated•9 years ago
|
Attachment #8736565 -
Attachment description: MozReview Request: Bug 1260888 Enable the extension xpcshell tests on Android. try: -b o -p android-api-15,android-x86 -u xpcshell → MozReview Request: Bug 1260888 Enable the extension xpcshell tests on Android.
Attachment #8736565 -
Flags: review?(kmaglione+bmo)
Assignee | ||
Comment 12•9 years ago
|
||
Comment on attachment 8736565 [details]
MozReview Request: Bug 1260888 - Enable the extension xpcshell tests on Android.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/43389/diff/2-3/
Attachment #8736565 -
Flags: review?(kmaglione+bmo) → review?(nalexander)
Assignee | ||
Updated•9 years ago
|
Attachment #8736565 -
Flags: review?(nalexander) → review?(kmaglione+bmo)
Assignee | ||
Comment 13•9 years ago
|
||
Kris noticed that the tests are all passing now, so the firefox-appdir issue might actually not be an issue at all. I also reran the tests on try and noticed that they all pass now as well:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=502a1625600c
Assignee | ||
Comment 14•9 years ago
|
||
Comment on attachment 8736565 [details]
MozReview Request: Bug 1260888 - Enable the extension xpcshell tests on Android.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/43389/diff/3-4/
Attachment #8736565 -
Attachment description: MozReview Request: Bug 1260888 Enable the extension xpcshell tests on Android. → MozReview Request: Bug 1260888 - Enable the extension xpcshell tests on Android.
Attachment #8736565 -
Flags: review?(kmaglione+bmo) → review?(nalexander)
Assignee | ||
Updated•9 years ago
|
Attachment #8736565 -
Flags: review?(nalexander) → review?(kmaglione+bmo)
Comment 15•9 years ago
|
||
Comment on attachment 8736565 [details]
MozReview Request: Bug 1260888 - Enable the extension xpcshell tests on Android.
https://reviewboard.mozilla.org/r/43389/#review41819
wfm.
Attachment #8736565 -
Flags: review+
Comment 16•9 years ago
|
||
https://reviewboard.mozilla.org/r/43389/#review41819
mattw: just FYI, I'll be mostly out of the Android team for a while. gbrown is the person to flag for future reviews.
Assignee | ||
Updated•9 years ago
|
Iteration: 48.2 - Apr 4 → 48.3 - Apr 25
Comment 17•9 years ago
|
||
Comment on attachment 8736565 [details]
MozReview Request: Bug 1260888 - Enable the extension xpcshell tests on Android.
This only needs one review.
Attachment #8736565 -
Flags: review?(kmaglione+bmo)
Assignee | ||
Comment 18•9 years ago
|
||
Comment on attachment 8736565 [details]
MozReview Request: Bug 1260888 - Enable the extension xpcshell tests on Android.
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/43389/diff/4-5/
Comment 20•9 years ago
|
||
Keywords: checkin-needed
Comment 21•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•