Mobile/Fennec/Android: Difference between revisions

m
Emphasize that to run mochitests, you need the device and the host to be on the same network.
m (Make the "getxre" steps a bit more clear)
m (Emphasize that to run mochitests, you need the device and the host to be on the same network.)
Line 549: Line 549:
* A rooted device is required to run the unit tests using the SUT Agent. Use ADB for unrooted devices (see [[https://wiki.mozilla.org/Mobile/Fennec/Android#Device_Managers]]).
* A rooted device is required to run the unit tests using the SUT Agent. Use ADB for unrooted devices (see [[https://wiki.mozilla.org/Mobile/Fennec/Android#Device_Managers]]).
* Currently using ADB and using /data/local/tests on a non-rooted phone causes setting TEST_PATH to a directory rather than an individual HTML file to fail, and SpecialPowers tests to fail too - filed as {{bug|822652}}
* Currently using ADB and using /data/local/tests on a non-rooted phone causes setting TEST_PATH to a directory rather than an individual HTML file to fail, and SpecialPowers tests to fail too - filed as {{bug|822652}}
* Ensure that the device and host machine are on the same network.
* '''Ensure that the device and host machine are on the same network''' <-- This is important. The device and the host need to communicate over the network to run the tests. Having the device connected to the host via USB is '''not''' sufficient.


=== Robocop ===
=== Robocop ===
Confirmed users
85

edits