gecko-dev/testing/mozbase
Mike Shal e28f6db31f Bug 1537574 - Use mozbuild's backend-out-of-date logic for RecursiveMake; r=firefox-build-system-reviewers,chmanchester
If mozbuild parsing fails due to a missing file (eg: a file not existing
in UNIFIED_SOURCES), then no Makefiles are written out, but
config.status exists. This would cause mozbuild to think that configure
doesn't need to run, and rely on make to perform the backend-out-of-date
check in rebuild-backend.mk. Unfortunately since no Makefiles were
written, the make command fails immediately and no attempt is made to
re-create the backend. Note that this is only a problem if the first
mozbuild parsing from a clobber build fails, otherwise there is
typically a top-level Makefile from a previous build to call into (at
which point make can determine it is out-of-date, and re-invoke itself).

The fix is to have the RecursiveMake backend re-use the same logic that
was introduced into mozbuild for alternate backends, and remove
rebuild-backend.mk. This way, mozbuild can always determine if the
backend needs to be regenerated, even if the initial parsing failed.

Test code was also relying on rebuild-backend.mk to generate the
TestBackend, but moving backend_out_of_date() into MozbuildObject allows
this code to be shared.

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

--HG--
rename : build/gen_test_backend.py => python/mozbuild/mozbuild/gen_test_backend.py
extra : moz-landing-system : lando
2019-04-10 22:14:27 +00:00
..
docs Bug 1457274 Upgrade mitmproxy in production r=rwood,tarek 2019-03-29 09:54:53 +00:00
manifestparser Bug 1498636 - Separate "include" variables from manifest defaults r=ahal 2019-02-07 15:10:25 +00:00
mozcrash Bug 1428706 - [mozcrash] Bump version number to 1.2.0 and prepare for release with Python 3 support; r=ahal 2019-02-11 15:51:24 +00:00
mozdebug Bug 1510031 - Add rust-gdb to the list of debuggers. r=ahal 2018-12-06 18:48:06 +00:00
mozdevice Bug 1525401 - [mozdevice 3.0.2] work around need to invoke su -c setenforce 0 prior to check for su support when using Magisk later than 17.3, r=gbrown. 2019-03-29 14:56:42 +00:00
mozfile Bug 1536230: Speed up extraction of tarballs r=marco 2019-03-21 12:41:29 +00:00
mozhttpd Bug 1436037 - [python] Create Windows python-test tasks, r=gps 2018-12-05 19:20:16 +00:00
mozinfo Bug 1540653 - [mozinfo] Bump version to 1.1.0. r=ahal 2019-04-01 20:21:08 +00:00
mozinstall Bug 1471641 - Changes to support a mozinstall 2.0 release r=davehunt 2019-01-02 09:57:30 +00:00
mozleak Bug 1520805 - Add the socket process to known processes for leak logging. r=kershaw 2019-01-17 16:43:05 +00:00
mozlog Bug 1542354 - Fix unexpected fail mach formatter. r=gbrown 2019-04-05 20:48:11 +00:00
moznetwork Bug 1436037 - [python] Create Windows python-test tasks, r=gps 2018-12-05 19:20:16 +00:00
mozprocess Bug 1532630 - mozprocess broken on python 3.6+ - r=gbrown 2019-03-26 16:47:54 +00:00
mozprofile Bug 1529000 - add a way to provide environment variables to use at startup in mochitest manifests, r=ahal. 2019-03-06 19:03:51 +00:00
mozproxy Bug 1532545 Add support for running page load tests against Fennec r=rwood 2019-04-08 17:47:59 +00:00
mozrunner Bug 1539603 - Remove obsolete references to MediaPipelineFactory logging; r=jmaher 2019-03-28 00:13:48 +00:00
mozscreenshot Bug 1515189 - Consolidate ADBDevice and ADBAndroid classes; r=bc 2018-12-19 14:04:02 -07:00
mozsystemmonitor [mozsystemmonitor] Add test manifest to testing/mozbase/moz.build (bug 1471916) r=davehunt 2019-03-25 13:49:38 +00:00
moztest Bug 1537574 - Use mozbuild's backend-out-of-date logic for RecursiveMake; r=firefox-build-system-reviewers,chmanchester 2019-04-10 22:14:27 +00:00
mozversion Bug 1471920 - Fix Python 3 support in mozversion; r=ahal 2019-02-08 15:28:00 +00:00
rust bug 1529278: mozrunner: support macOS application bundle paths; r=ato 2019-03-15 16:22:37 +00:00
moz.build [mozsystemmonitor] Add test manifest to testing/mozbase/moz.build (bug 1471916) r=davehunt 2019-03-25 13:49:38 +00:00
packages.txt Bug 1528992 - extract raptor mitmproxy integration - r=rwood,Bebe,gbrown 2019-03-06 17:13:21 +00:00
README.md
setup_development.py
versioninfo.py

Mozbase

Mozbase is a set of easy-to-use Python packages forming a supplemental standard library for Mozilla. It provides consistency and reduces redundancy in automation and other system-level software. All of Mozilla's test harnesses use mozbase to some degree, including Talos, mochitest, and reftest.

Learn more about mozbase at the project page.

Read detailed docs online, or build them locally by running "make html" in the docs directory.

Consult open bugs and feel free to file new bugs.