gecko-dev/testing
Gregory Szorc caa0d851ed Bug 1304964 - Invoke `hg` with PYTHONUNBUFFERED=1; r=dustin
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
2016-09-22 23:33:01 -07:00
..
config bug 1303980 - update minidump_stackwalk binaries to ones built from latest Breakpad. r=jmaher 2016-09-20 13:26:33 -04:00
crashtest Bug 1286657 - Add manifest for autophone webrtc crashtest job; r=bc 2016-08-03 12:20:48 -04:00
docker Bug 1304964 - Invoke `hg` with PYTHONUNBUFFERED=1; r=dustin 2016-09-22 23:33:01 -07:00
firefox-ui Bug 1304004 - Disable test_dv_certificate.py, test_ev_certificate.py, test_mixed_content_page.py, test_mixed_script_content_blocking.py 2016-09-20 15:57:23 +02:00
gtest Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
instrumentation Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
luciddream revert Bug 1303590 - Remove Luciddream test suite r=aobreja CLOSED TREE 2016-09-21 08:55:24 -04:00
marionette Bug 1298800 - Add support for callbacks to restart() and quit() methods of Marionette; r=whimboo 2016-09-21 21:53:12 +05:30
mochitest Backed out changeset e1d144423657 (bug 1280571) for making leaks hard to diagnose a=backout CLOSED TREE 2016-09-21 16:56:50 -07:00
modules Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
mozbase Bug 1302796 - Add integration between structured logging and lints, r=ahal 2016-09-13 14:18:41 +01:00
mozharness Bug 1304176 - Document and refactor query_virtualenv_path; r=ted 2016-09-20 14:59:14 -07:00
profiles Bug 838954 - Backout newlines lost in .innerHTML serialization of <pre> when first character is a newline. r=smaug 2016-09-22 02:42:00 -04:00
puppeteer Bug 1296677 - Remove update billboard support from firefox-puppeteer. r=rstrong 2016-08-24 09:37:47 +02:00
runtimes Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00
specialpowers Bug 972110 Rewrite editor/libeditor/test_bug674770-1.html without setTimeout() for avoiding intermittent failure r=smaug 2016-09-22 10:54:51 +09:00
talos Bug 1303469 - Stub form autofill system extension. r=rhelmer 2016-09-18 14:07:51 +08:00
tools Backed out changeset ae50c61cb134 (bug 1264367) for breaking crash stacks on at least Android and Linux 2016-09-21 13:26:24 -07:00
tps Bug 1293426 - Allow TPS config to specify preference values so it can be pointed at non-production servers r=markh 2016-08-11 10:18:13 -04:00
web-platform Bug 1007702 - Enable skia on nighly for unaccelerated windows. r=lsalzman 2016-09-21 13:51:51 -04:00
xpcshell Bug 1303804 - Fix Promise test that relies on non-release feature (async stacks), r=froydnj 2016-09-19 15:21:25 -07:00
README.txt
cppunittest.ini Bug 1297306 - part4:rename IsEnumFittingWithin with EnumTypeFitsWithin and move it to mfbt/EnumTypeTraits.h. r=froydnj 2016-09-07 10:20:16 +08:00
mach_commands.py Backed out changeset 1df8bde64853 (bug 1302364) 2016-09-16 11:24:29 +02:00
remotecppunittests.py Bug 1295323 - s/CalledProcessError/subprocess.CalledProcessError/ r=dminor 2016-08-01 19:01:12 -07:00
runcppunittests.py Bug 1281918 - make runcppunittests filter out non-executable files when given a directory; r=chmanchester 2016-06-24 04:02:18 -04:00
testsuite-targets.mk Bug 1301334 - Package Marionette tests via moz.build entries r=gps 2016-09-20 18:05:43 +02:00

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