gecko-dev/testing/mozharness
Gregory Szorc 2370b70af6 Bug 1361912 - Don't invoke mach build through bash.exe; r=ted
Executing `mach build` through bash.exe was introduced by
5f379c98b962 / bug 1279011. Why, I don't know. Literally every
other invocation of `mach` in mozharness does it directly
or via a Python executable (the latter is necessary on Windows
since `mach` is not a win32 executable).

So, this commit removes bash.exe and executes `mach` via
Python like everyone else.

MozReview-Commit-ID: GFNUVbfHZdq

--HG--
extra : rebase_source : 110082013ac76347f1ff77767e407750bb8bd647
extra : intermediate-source : 6a82d640aa274f6532528bd45d9e86ede901f44d
extra : source : ca3dddda32b0274d2ed8d700527b2383da36be2c
2017-05-03 18:16:58 -07:00
..
configs Bug 1361912 - Stop defining python2.7 executable as sys.executable; r=ted 2017-05-03 18:10:33 -07:00
docs Bug 1359988 - Remove mozharness docs related to gaia; r=mshal 2017-04-26 13:55:10 -07:00
examples
external_tools Bug 1317594 - Vendor latest robustcheckout extension; r=me 2017-04-11 13:35:42 -07:00
mozfile
mozharness Bug 1361912 - Don't invoke mach build through bash.exe; r=ted 2017-05-03 18:16:58 -07:00
mozinfo
mozprocess
scripts Bug 1361912 - Stop defining python2.7 executable as sys.executable; r=ted 2017-05-03 18:10:33 -07:00
test Bug 1330837 - Remove functionality to apply and push; r=aki 2017-04-11 14:23:00 -07:00
LICENSE
mach_commands.py
README.txt
requirements.txt Bug 1330837 - Use Mercurial 4.1 in mozharness tests; r=aki 2017-04-11 14:26:29 -07:00
setup.cfg
setup.py
tox.ini Bug 1330837 - Use Mercurial 4.1 in mozharness tests; r=aki 2017-04-11 14:26:29 -07:00
unit.sh

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