mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
c5fb7340c8
Building off the work from Bug 1451159, this creates a new ./testing/extensions directory and adds it to the list of directories to check for moz.build files in ./toolkit/toolkit.mozbuild. This will enable developers to run custom tests on their extensions locally and on the Try server by following the steps in the ./testing/extensions/README.txt file. The ./testing/extension/moz.build file is required by the build system, but it will be overwritten with the developer's own moz.build file. Differential Revision: https://phabricator.services.mozilla.com/D17568 --HG-- extra : moz-landing-system : lando
5 lines
432 B
Plaintext
5 lines
432 B
Plaintext
To run custom Mozilla tests on an extension (Bug 1517083):
|
|
1. Drop an extension XPI into testing/profiles/common/extensions (Bug 145119); this extension will be installed with the testing profile.
|
|
2. Drop a moz.build file in this directory that registers any relevant manifests for any tests to be run for the extension. This will overwrite the placeholder moz.build file in this directory.
|
|
3. Drop those tests into this directory.
|