mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-26 00:17:47 -10:00
Behavior changes: - instead of reading the mozconfig file, it now instantiates an instance of the build object. - safe checking methods are used to access attributes to prevent errors on automation environment. - better mach command parsing is performed with handler category instead of error-prone argv parsing. Other changes: - docstring for testing/xpcshell/runxpcshelltests.py::buildTestList() added and modernized. - added clause that if length of tests gathered is 0, mach exits with an error code of 1. Differential Revision: https://phabricator.services.mozilla.com/D7133
==== mach ==== Mach (German for *do*) is a generic command dispatcher for the command line. To use mach, you install the mach core (a Python package), create an executable *driver* script (named whatever you want), and write mach commands. When the *driver* is executed, mach dispatches to the requested command handler automatically. To learn more, read the docs in ``docs/``.