Before now running ‘classic’ unittests (mochitest, reftest, xpcshell, etc.) on B2G emulators has been a massive pain. The new recommended way of running them is through mach. Update B2G repo if you haven’t already: git pull Configure an emulator: BRANCH=master ./config.sh emulator Build: ./build.sh Run: ./mach mochitest-remote