зеркало из https://github.com/mozilla/gecko-dev.git
c7ebd24d8e
This is case that got hit with the new mochitest selftest harness. In this scenario, several MochitestDesktop instances (which call commandline.setup_logging in their constructor) are instantiated in the same interpreter. Because mozlog implicitly saves the logger state, this meant that setup_logging kept appending duplicate handlers to the existing ones. I believe that the intent of 'setup_logging' is to get a brand new logger, so it should ensure logger state is reset on subsequent calls. MozReview-Commit-ID: Jqyhbj7nC6z --HG-- extra : rebase_source : f267489bef99f3ac3d657357002a0001610a038f |
||
---|---|---|
.. | ||
docs | ||
manifestparser | ||
mozcrash | ||
mozdebug | ||
mozdevice | ||
mozfile | ||
mozhttpd | ||
mozinfo | ||
mozinstall | ||
mozleak | ||
mozlog | ||
moznetwork | ||
mozprocess | ||
mozprofile | ||
mozrunner | ||
mozscreenshot | ||
mozsystemmonitor | ||
moztest | ||
mozversion | ||
README.md | ||
moz.build | ||
packages.txt | ||
setup_development.py | ||
versioninfo.py |
README.md
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, reftest, Autophone, and Eideticker.
Learn more about mozbase at the project page.
Read detailed docs online, or build them locally by running "make html" in the docs directory.