Mobile/Fennec/Android: Difference between revisions

Line 405: Line 405:
   make -f client.mk build_and_deploy
   make -f client.mk build_and_deploy
   cd <objdir-android>
   cd <objdir-android>
  adb install -r dist/robocop.apk
   MOZ_HOST_BIN="<abspath-to-objdir-desktop>/dist/bin/" make mochitest-robotium
   MOZ_HOST_BIN="<abspath-to-objdir-desktop>/dist/bin/" make mochitest-robotium


Line 411: Line 412:
Notes:
Notes:
* A rooted device is NOT required.
* A rooted device is NOT required.
* ADB device manager is used by default; SUT is also supported.
* SUT and ADB device managers are both supported.
* MOZ_HOST_BIN is used to launch xpcshell on the desktop to provide a web server.
* MOZ_HOST_BIN is used to launch xpcshell on the desktop to provide a web server.
* Use TEST_PATH=<test-name> to run just one test at a time.
* Use TEST_PATH=<test-name> to run just one test at a time. eg. TEST_PATH=testAwesomebar


=== xpcshell  ===
=== xpcshell  ===
Confirmed users
1,759

edits