mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 12:20:56 +00:00

This service, based off of TestRunnerActivity, can be used to run an xpcshell-test instance. It supports up to 10 concurrent instances, although we can add more if we need to. Local testing indicates that with more than 4 concurrent instances there's not gain in test running performance. This also adds a new intent action |org.mozilla.geckoview.test.XPCSHELL_TEST_MAIN| that can be used by the test harness to start the main application and gain foreground priority without starting Gecko (which would interfere with the xpcshell runner services). Differential Revision: https://phabricator.services.mozilla.com/D106212