+mobile-firefox-dev

On Mon, Nov 30, 2015 at 10:20 AM, Kartikaya Gupta <kgu...@mozilla.com>
wrote:

> Thanks for all your work in making this happen! I've used some of
> these commands recently and they work much better than they used to
> for Fennec :)
>
> On Mon, Nov 30, 2015 at 12:32 PM, Geoffrey Brown <gbr...@mozilla.com>
> wrote:
> > In recent months, many improvements have been made to mach commands to
> > support running, testing, and debugging Firefox for Android:
> >
> >  - More test commands for Android. These mach test commands now support
> > Firefox for Android explicitly:
> >
> >   mach mochitest
> >   mach robocop
> >   mach reftest
> >   mach crashtest
> >   mach jstestbrowser
> >   mach xpcshell-test
> >   mach cppunittest
> >
> >
> >  - Emulator support. 'mach android-emulator' launches the Android
> emulator,
> > using the same Android image used to run tests seen on treeherder; select
> > an image type with the --version option.
> >
> >  - All of the test, run, and debug commands offer to start the Android
> > emulator if no Android device is connected (when run from an Android
> > context).
> >
> >   $ ./mach mochitest testing/mochitest/tests/Harness_sanity
> >   No Android devices connected. Start an emulator? (Y/n)
> >
> >  - All test, run, and debug commands offer to install Firefox on the
> > connected device or emulator if Firefox is not already installed.
> >
> >   $ ./mach mochitest testing/mochitest/tests/Harness_sanity
> >   It looks like Firefox is not installed on this device.
> >   Install Firefox? (Y/n)
> >
> >  - Test commands requiring host xpcshell offer to install "host
> utilities"
> > if none have been configured.
> >
> >  - Firefox can be run on an Android device or emulator with 'mach run'.
> >
> >  - JimDB, a GDB fork explicitly supporting debugging for Firefox for
> > Android, can be installed, configured, and run with 'mach run --debug'.
> >
> >  - Emulator images, host utilities, and jimdb are automatically
> downloaded,
> > cached, and installed as needed.
> >
> >  - Firefox for Android wiki pages have been updated:
> >     - Build info at https://wiki.mozilla.org/Mobile/Fennec/Android
> >     - Testing info at
> https://wiki.mozilla.org/Mobile/Fennec/Android/Testing
> >     - Debugging with GDB at
> > https://wiki.mozilla.org/Mobile/Fennec/Android/GDB.
> >
> >  - Screencasts demonstrate common tasks at
> > https://people.mozilla.org/~gbrown/android-demos/.
> >
> > Running, testing, and debugging Firefox will always be more complicated
> on
> > Android than on desktop, but now these tasks look just as easy on
> Android,
> > and can be performed with the same mach commands as on desktop.
> >
> > If you have had trouble in the past running, testing, or debugging your
> own
> > Firefox for Android build, this is a great time to try again. All you
> need
> > to get started is a Firefox for Android build on a Linux or OSX computer.
> > Something not working for you? Have more ideas for improvements? Let me
> > know.
> > _______________________________________________
> > 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
>
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to