Hi Panos,

Most (or all) of the tests in that directory were not working on B2G as
written.   They were timing out and causing the harness to abort.  So I
disabled that entire directory in the interests of getting the job running.

I haven't debugged any of those, but you could remove that line from the
manifest and run them on try with the syntax:

-b o -p emulator -u mochitest-chrome -t none

Jonathan


On Tue, Mar 24, 2015 at 4:05 AM, Panos Astithas <p...@mozilla.com> wrote:

> This is very cool, I've been waiting for this for a long time!
>
> I see that existing tests are now skipped by default on b2g, e.g.:
>
>
> https://dxr.mozilla.org/mozilla-central/source/toolkit/devtools/server/tests/mochitest/chrome.ini#2
>
> Is this because nobody has tested whether they work yet, or is it because
> they are not working on b2g as they are written? If the latter, do you have
> any insights on what needs to change?
>
> Thanks,
> Panos
>
>
> On Tue, Mar 24, 2015 at 1:38 AM, Jonathan Griffin <jgrif...@mozilla.com>
> wrote:
>
>> A mochitest-chrome job is now running on B2G emulators, and appears in
>> Treeherder as M(c).  This job skips most existing chrome tests, since most
>> of the existing tests are not compatible with B2G.  But it provides a
>> better alternative when writing mochitests that need chrome privileges
>> than
>> using SpecialPowers in mochitest-plain.
>>
>> If you want your new chrome mochitest to get run on B2G, just make sure
>> it's written as an XHTML file and not a XUL one; see
>>
>> https://dxr.mozilla.org/mozilla-central/source/testing/mochitest/static/chrome.template.txt
>> .
>>
>> If you don't want your new chrome mochitest to run on B2G, just add
>> "skip-if = buildapp == 'b2g'" to the relevant chrome.ini manifest.
>>
>> To run the tests locally, just add a --chrome argument to your
>> runtestsb2g.py command-line, as documented here:
>>
>> https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/Mochitests#Running_the_tests_2
>>
>> Regards,
>>
>> Jonathan
>> _______________________________________________
>> dev-platform mailing list
>> dev-platform@lists.mozilla.org
>> https://lists.mozilla.org/listinfo/dev-platform
>>
>
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to