Mobile/Fennec/Android: Difference between revisions

Jump to navigation Jump to search
Line 364: Line 364:
     make -C <objdir-droid> mochitest-remote
     make -C <objdir-droid> mochitest-remote


Note that as of this writing (September 2011) many mochitests will not complete successfully. Try setting your TEST_PATH to "dom/tests/mochitest/dom-level1-core" or "content/smil/test" if you want to restrict yourself to a subset of tests that are known to pass (note: 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}})
Note that as of this writing (September 2011) many mochitests will not complete successfully. Try setting your TEST_PATH to "dom/tests/mochitest/dom-level1-core" or "content/smil/test" if you want to restrict yourself to a subset of tests that are known to pass


TEST_PATH can be:
TEST_PATH can be:
Line 395: Line 395:
Notes:
Notes:
* A rooted device is required to run the unit tests using the SUT Agent. Use ADB for unrooted devices.
* A rooted device is required to run the unit tests using the SUT Agent. Use ADB for unrooted devices.
* 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}}


=== Robotium ===
=== Robotium ===
Confirmed users
2,615

edits

Navigation menu