On Mon, Apr 4, 2016 at 7:43 AM, Margaret Leibovic <mleibo...@mozilla.com>
wrote:

> Also, looking at the config, I see that this only runs robocop unit tests.
> What about the other test suites we have, like mochitests? I understand
> wanting to avoid running all platform unit tests, but we do have
> mobile-specific tests besides robocop:
>
> https://dxr.mozilla.org/mozilla-central/source/mobile/android/tests/browser/chrome
>
> I usually just run "-u all" to be safe, but maybe there's a better
> solution than that.
>

I feel we should make the default of this command be the optimal compromise
between saving resources and catching breakage before it hits the tree.

That being said, my typical workflow is only to run the robocop tests.
Since I *rarely* break the other tests and they get run when I land changes
anyway, I felt this was the optimal blend.

Have others had a different experience? Do you still feel we should add
more tests to the command?

Ideally, if you feel so, we could expand the command to be able to operate
a varying set of tests, e.g. --all, --conservative, --robocop, etc.

I re-ran `mach mercurial-setup`, assuming that would install this extension
> as well, but I don't see it installed. Do I need to manually install it?
> Are there plans to make this part of the official workflow?
>

I'm surprised it's not the default! I filed
https://bugzilla.mozilla.org/show_bug.cgi?id=1262002

fwiw, to install this locally, adding the following line in the
`[extensions]` section of your .hgrc will work for most people:

push-to-try = ~/.mozbuild/version-control-tools/hgext/push-to-try

>
>> Thanks,
>> Margaret
>>
>> On Thu, Mar 31, 2016 at 10:14 AM, Michael Comella <
>> michael.l.come...@gmail.com> wrote:
>>
>>> Hey all.
>>>
>>> I wrote a wrapper around `hg push-to-try` that will run all of the
>>> Android try jobs using the latest configuration without try syntax [1].
>>> After installing, run with:
>>>
>>> push-to-try-android
>>>
>>> If you want to avoid pushing but print the try syntax (e.g. to manually
>>> remove jobs or to copy-pasta in reviewboard):
>>>
>>> push-to-try-android --dry-run
>>>
>>> Finally, it pulls its configuration from github [2] so if it's ever
>>> out-of-date, pull requests are welcome! :)
>>> - Mike (:mcomella)
>>>
>>> [1]: https://github.com/mcomella/push-to-try-android
>>> [2]:
>>> https://github.com/mcomella/push-to-try-android/blob/master/config.json
>>>
>>> _______________________________________________
>>> mobile-firefox-dev mailing list
>>> mobile-firefox-dev@mozilla.org
>>> https://mail.mozilla.org/listinfo/mobile-firefox-dev
>>>
>>>
>>
>
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to