зеркало из https://github.com/mozilla/gecko-dev.git
b11952722c
When we branched to beta, the MinGW build started failing with a strange error like "could not find the robustcheckout Mercurial extension". We disabled it for a while, but now we're re-enabling it (and fixing the problem.) The root culprit of this was that we were using the incorrect mozconfig. MinGW does all sorts of stuff in the mozconfig, but the beta branch overrides the mozconfig using platform_overrides in testing/mozharness/configs/builds/branch_specifics.py We avoid this override by changing the MinGW platform so it doesn't match and the mozconfig doesn't get overridden. MozReview-Commit-ID: JkETWCRHacO --HG-- extra : rebase_source : 5ef7d96804acd3a4eaa6dd6cc8b483f3de438b61 |
||
---|---|---|
.. | ||
configs | ||
docs | ||
examples | ||
external_tools | ||
manifestparser | ||
mozfile | ||
mozharness | ||
mozinfo | ||
mozprocess | ||
scripts | ||
test | ||
LICENSE | ||
README.txt | ||
mach_commands.py | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
tox.ini | ||
unit.sh |
README.txt
# Mozharness ## Docs * https://developer.mozilla.org/en-US/docs/Mozharness_FAQ * https://wiki.mozilla.org/ReleaseEngineering/Mozharness * http://moz-releng-mozharness.readthedocs.org/en/latest/mozharness.mozilla.html * http://moz-releng-docs.readthedocs.org/en/latest/software.html#mozharness ## Submitting changes Like any Gecko change, please create a patch or submit to Mozreview and open a Bugzilla ticket under the Mozharness component: https://bugzilla.mozilla.org/enter_bug.cgi?product=Release%20Engineering&component=Mozharness This bug will get triaged by Release Engineering ## Run unit tests To run the unit tests of mozharness the `tox` package needs to be installed: ``` pip install tox ``` There are various ways to run the unit tests. Just make sure you are within the `$gecko_repo/testing/mozharness` directory before running one of the commands below: ``` tox # run all unit tests tox -- -x # run all unit tests but stop after first failure tox -- test/test_base_log.py # only run the base log unit test ``` Happy contributing! =)