gecko-dev/mobile
Nick Alexander 2a5888f644 Bug 1371445 - Add |mach android {lint,findbugs,checkstyle,test}| commands for running Android-specific test suites. r=gps
It be ideal to have |mach test {findbugs,test}| and |mach lint
{lint,checkstyle}|, but the |mach test| command is very difficult to
extend in a direction orthogonal to the existing direction.  The
existing |mach test| is built around in-tree manifests, tagged and
divided into suites, intended to support |mach test
path/to/arbitrary/test|.  The Android findbugs task is a global static
analysis that doesn't fit into the path/manifest model.  The Android
test task is based on JUnit and not easy to build manifest support
for.  The |mach lint| command is intended to be extended, but the
effort to extend it is non-trivial and not worth the effort (at this
time).

Therefore, I've taken the existing, little used |mach android| command
and added subcommands for use by local developers and automation.  If
nothing else, this reduces the number of "special Gradle targets" --
the equivalent of "special Make targets" -- sprinkled throughout the
tree, which can only be a good thing!

MozReview-Commit-ID: 24b1vbgykpN

--HG--
extra : rebase_source : 8843a6e3840586fe05a1434484a848d48b2a6e8b
2017-06-12 08:55:54 -07:00
..
android Bug 1371445 - Add |mach android {lint,findbugs,checkstyle,test}| commands for running Android-specific test suites. r=gps 2017-06-12 08:55:54 -07:00
locales no bug - Bumping Fennec l10n changesets r=release a=l10n-bump 2017-06-06 03:00:37 -07:00