gecko-dev/testing/mozharness
Ted Mielczarek 26861a3269 bug 1396845 - invoke mach via bash on windows when running mach build check. r=froydnj
Historically when invoking mach from mozharness on windows we have started
it by way of bash. However, we haven't been doing that for `mach build check`.
This hadn't caused noticeable issues in the past, but now that we are
running rusttest builds, which wind up compiling extra Rust code in that
step, intermittent failures are showing up because of this. The root cause
is likely a bug in msys' translation of environment variables, but msys
is unsupported and we're already using this workaround for the rest of the
build.

Differential Revision: https://phabricator.services.mozilla.com/D7816

--HG--
extra : moz-landing-system : lando
2018-10-05 15:17:21 +00:00
..
configs Bug 1370636 - [wdspec] Update mozharness configuration for geckodriver on Windows. r=jgraham 2018-10-02 13:36:01 +00:00
docs Bug 1494091: [mozharness] Remove unsued signing code; r=Callek 2018-10-02 18:27:37 +00:00
examples
external_tools Bug 1480232 - vendor latest robustcheckout with Mercurial 4.7 compatibility; r=gps 2018-08-02 11:56:49 -07:00
manifestparser
mozfile
mozharness bug 1396845 - invoke mach via bash on windows when running mach build check. r=froydnj 2018-10-05 15:17:21 +00:00
mozinfo Bug 1428461 - Update mozharness' mozinfo from mozbase; r=jmaher 2018-01-08 07:41:09 -07:00
mozprocess Bug 1322616 - Differentiate between timeout and output timeout in mozprocess (mozharness copy of mozprocess); r=jmaher 2017-12-05 15:43:02 -07:00
scripts Bug 1496480 - release-update-verify-config-* tasks failing due to recent refactoring in Bug 1491907, r=tomprince 2018-10-04 17:44:07 +00:00
test Bug 1494091: [mozharness] Remove unused rsync support from mozharness; r=Callek 2018-10-02 18:29:19 +00:00
LICENSE
mach_commands.py Bug 1492601 - Use MachCommandCondition.is_firefox_or_android, r=ahal. 2018-09-23 15:08:56 -07:00
moz.build Bug 1470414 - Clean-up moz.build files for BUG_COMPONENT in testing/. r=ahal 2018-06-22 13:32:05 +02:00
README.txt
requirements.txt
setup.cfg
setup.py
tox.ini
unit.sh Bug 1237182: Removing unused buildbot support r=Callek 2018-05-04 13:51:35 -04:00

# 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! =)