mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-15 14:35:58 -10:00
This adds the ability to use manifestparser subsuites to |mach python-test|. Subsuites are based on the premise of a "default" set that gets run when no subsuites are explicitly specified. When a test is labelled with a subsuite, that test is removed from the default set and will only run if that subsuite is explicitly specified. This will allow us to chunk python unittests out of 'make check' piecemeal. The default set will run in 'make check', and individual tasks (e.g mozbase), will specify a subsuite explicitly. The |mach python-test| implementation is slightly different. By default, subsuites are not considered if developers do not pass in --subsuite. This means running |mach python-test| without arguments will still run the full set of tests, and similarly, passing in test paths will *just work*. If for some reason a developer needs to actually run the default set, a special "default" subsuite has been create, so they can use |mach python-test --subsuite default|. This default subsuite is also what 'make check' will explicitly invoke. MozReview-Commit-ID: FaHb4nvuoK9
This directory contains common Python code. The basic rule is that if Python code is cross-module (that's "module" in the Mozilla meaning - as in "module ownership") and is MPL-compatible, it should go here. What should not go here: * Python that is not MPL-compatible (see other-licenses/) * Python that has good reason to remain close to its "owning" (Mozilla) module (e.g. it is only being consumed from there). Historical information can be found at https://bugzilla.mozilla.org/show_bug.cgi?id=775243 ## pyyaml | pystache Used in taskcluster related mach commands to update download from github and remove .git and tests. Then run tests in taskcluster/tests/