Mobile/Fennec/Android/LocalRoboTalos: Difference between revisions

Fix missing make package step
(Created page with "Running the robopan, robocheck, and robocheck2 (and soon robocheck3) tests locally is kind of tedious. I have never gotten it to run using the standard talos incantations. Instea...")
 
(Fix missing make package step)
Line 10: Line 10:
String url = "http://timecube.com/";</pre>
String url = "http://timecube.com/";</pre>
Note that if you are using a different test the URL may be different, update it to the live version of the appropriate page.
Note that if you are using a different test the URL may be different, update it to the live version of the appropriate page.
* Rebuild the test suite using <pre>make -C <objdir>/build/mobile/robocop</pre>
* Rebuild the test suite using <pre>make -C <objdir>/build/mobile/robocop</pre> and <pre>make package</pre>
* Ensure you have a device plugged in and loaded with the fennec APK you want to test.
* Ensure you have a device plugged in and loaded with the fennec APK you want to test.
* Follow the steps to run a single test from the mochitest-robotium suite at [[Auto-tools/Projects/Robocop#Running_tests]] - basically export MOZ_HOST_BIN and TEST_PATH, and then run <pre>make mochitest-robotium</pre>.
* Follow the steps to run a single test from the mochitest-robotium suite at [[Auto-tools/Projects/Robocop#Running_tests]] - basically export MOZ_HOST_BIN and TEST_PATH, and then run <pre>make mochitest-robotium</pre>.


If all goes well, the test will run on the device, and you should be able to see it start fennec and run the test. For testCheck you should see timecube.com repeatedly scroll up and down for a minute or so. The talos score will be reported out to logcat.
If all goes well, the test will run on the device, and you should be able to see it start fennec and run the test. For testCheck you should see timecube.com repeatedly scroll up and down for a minute or so. The talos score will be reported out to logcat.
Confirmed users
586

edits