зеркало из https://github.com/mozilla/gecko-dev.git
caa0d851ed
Python processes with a TTY have stdout line buffered by default. Python processes without a TTY have buffered output. Mercurial inherits whatever Python's output buffering behavior is. This means if we invoke Mercurial without a TTY, stdout and stderr will be fully buffered. This means output may not be sent until there is enough output to flush the output buffer. A consequence of this is that timings reported for `hg` commands invoked by run-task are inaccurate. In addition, output order is incorrect. This is because Mercurial's progress indicators print to stderr and flush when written. This means stderr output is getting seen by run-task but stdout remains buffered. This commit forces Python/Mercurial to not buffer stderr and stdout by setting the PYTHONUNBUFFERED=1 environment variable. MozReview-Commit-ID: 7lMdrjRMBqz --HG-- extra : rebase_source : 198ced0053fe6071a45c9df8b044b24983c225cc |
||
---|---|---|
.. | ||
config | ||
crashtest | ||
docker | ||
firefox-ui | ||
gtest | ||
instrumentation | ||
luciddream | ||
marionette | ||
mochitest | ||
modules | ||
mozbase | ||
mozharness | ||
profiles | ||
puppeteer | ||
runtimes | ||
specialpowers | ||
talos | ||
tools | ||
tps | ||
web-platform | ||
xpcshell | ||
README.txt | ||
cppunittest.ini | ||
mach_commands.py | ||
remotecppunittests.py | ||
runcppunittests.py | ||
testsuite-targets.mk |
README.txt
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff