forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 863445 - Part 3: Make build/mobile/robocop/Makefile.in produce ro…
…bocop-debug-signed.apk. r=jmaher Also makes the developer-facing `make mochitest-robocop` run robocop-debug-signed.apk, and deprecates `make mochitest-robotium` (since we name this suite robocop on TBPL).
- Loading branch information
Showing
5 changed files
with
67 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Robocop Mochitest | ||
================= | ||
|
||
*Robocop Mochitest* tests run on Native Android builds marked with an | ||
'rc' in TBPL. These are Java based tests which run from the mochitest | ||
harness and generate similar log files. These are designed for | ||
testing the native UI of Android devices by sending events to the | ||
front end. | ||
|
||
See the documentation at | ||
https://wiki.mozilla.org/Auto-tools/Projects/Robocop/WritingTests for | ||
details. | ||
|
||
Development cycle | ||
----------------- | ||
|
||
To deploy the robocop APK to your device and start the robocop test | ||
suite, use:: | ||
|
||
make -C $OBJDIR mochitest-robocop | ||
|
||
The Java files in ``mobile/android/base/tests`` are dependencies of the | ||
robocop APK built by ``build/mobile/robocop``. If you modify Java files | ||
in ``mobile/android/base/tests``, you need to rebuild the robocop APK | ||
with:: | ||
|
||
mach build/mobile/robocop | ||
|
||
Changes to ``.html``, ``.css``, ``.sjs``, and ``.js`` files in | ||
``mobile/android/base/tests`` do not require rebuilding the robocop | ||
APK -- these changes are always 'live', since they are served by the | ||
mochitest HTTP server and downloaded each test run by your device. | ||
|
||
``mach package`` does build and sign a robocop APK, but ``make | ||
mochitest-robocop`` does not use it. (This signed APK is used to test | ||
signed releases on the buildbots). | ||
|
||
As always, changes to ``mobile/android/base``, ``mobile/android/chrome``, | ||
``mobile/android/modules``, etc., require:: | ||
|
||
mach mobile/android/base && mach package && mach install | ||
|
||
as usual. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters