Confirmed users
192
edits
Shawn huang (talk | contribs) (Revise Bluetooth Marionette Tests) |
|||
Line 93: | Line 93: | ||
* [https://bugzilla.mozilla.org/show_bug.cgi?id=919262 Sep, 2013] | * [https://bugzilla.mozilla.org/show_bug.cgi?id=919262 Sep, 2013] | ||
* [https://bugzilla.mozilla.org/show_bug.cgi?id=905079 Aug, 2013] | * [https://bugzilla.mozilla.org/show_bug.cgi?id=905079 Aug, 2013] | ||
== FAQ == | == FAQ == | ||
Line 240: | Line 231: | ||
ac_add_options --with-ccache=/usr/bin/ccache | ac_add_options --with-ccache=/usr/bin/ccache | ||
ENABLE_MARIONETTE=1 | ENABLE_MARIONETTE=1 | ||
== Bluetooth Marionette Tests == | |||
Setup python environment for Marionette | |||
Install “python-setuptools” | |||
Setup marionette client | |||
$ pip install virtualenv | |||
$ mkdir ~/pyEnv | |||
$ virtualenv ~/pyEnv/ | |||
$ cd $GECKO_DIR/testing/marionette/client' | |||
$ sudo ~/pyEnv/bin/python setup.py develop | |||
Run BT tests on ICS emulator | |||
$ cd $GECKO_DIR | |||
$ ~/pyEnv/bin/python testing/marionette/client/marionette/runtests.py --emulator arm --homedir ../ --type=b2g dom/bluetooth/tests/marionette/manifest.ini | |||
Run BT tests on device | |||
$ cd $GECKO_DIR | |||
$ adb forward tcp:2828 tcp:2828 | |||
$ ~/pyEnv/bin/python testing/marionette/client/marionette/runtests.py --address=localhost:2828 --type=b2g dom/bluetooth/tests/marionette/manifest.ini | |||
== Team Members == | == Team Members == |