Hey all.

With nalexander's guidance, I split the existing Android front-end
Treeherder task into two tier 2 tasks:

1) "lint": runs Android lint
2) "test" (formerly "Unit"): runs Fennec unit tests.

For an example of what this looks like, see [1].

To push to these during try builds, use the following argument for platform
(-p):

1) android-lint
2) android-api-15-frontend

Note that the names of the tasks in treeherder correlate with the local
gradle tasks:

./mach gradle lint
./mach gradle test

will lint all of the files, then run all of the unit tests. Note that you
can also provide a build flavor, e.g.:

./mach gradle lintLocalOldDebug
./mach gradle testDebugUnitTest

See `./mach gradle tasks` for all tasks.

This was implemented in [2].
- Mike (:mcomella)

[1]: https://treeherder.mozilla.org/#/jobs?repo=try&revision=3370dfbb8892
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1254605
_______________________________________________
mobile-firefox-dev mailing list
mobile-firefox-dev@mozilla.org
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to