tests: Run python tests with stdout unbuffered
authorDan Nicholson <nicholson@endlessm.com>
Sat, 14 Oct 2017 00:52:04 +0000 (19:52 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 1 Dec 2017 19:00:18 +0000 (19:00 +0000)
commitafebb5c336bebe4f41704ec995bb430d006f85e4
treef16872e75296f68a0995f5dd1fdc0592e43d79b4
parent870b614f37b17c9e2583e24ebae7467687015b20
tests: Run python tests with stdout unbuffered

Set the PYTHONUNBUFFERED environment variable during tests so that
python leaves stdout unbuffered. This is helpful when reading logs for
failures since the interleaved stdout and stderr will generally come out
in the right order. It's not perfect since tap-driver.sh does some
special redirection to the log file, but it's an improvement.

Closes: #1352
Approved by: dbnicholson
Makefile-tests.am