Running mochitests/reftests/xpcshell on a B2G emulator has been a bit of a struggle in the past. As of now, if you have an emulator configured and built, you can simply run './mach mochitest-remote' (or ./mach help mochitest-remote for additional arguments). Substitute 'mochitest' with 'reftest', 'crashtest' or 'xpcshell' to run those suites.

For more details, see my blog post: http://ahal.ca/blog/2013/running-b2g-unittests-mach/

Don't hesitate to ping me if you have problems or questions.

Cheers,
Andrew
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to