From: Andrew Tridgell Date: Thu, 22 Oct 2009 00:04:40 +0000 (+1100) Subject: selftest: make python run unbuffered X-Git-Tag: tdb-1.2.0~529 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=606ff46447f9b1f8708270a69a248c3439408aab;hp=dfa0b74516349f892b77f384d0c59ae2008199c2 selftest: make python run unbuffered This makes some output in make test easier to follow --- diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 2aae050590a..b3017784557 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -356,6 +356,9 @@ unless (defined($ENV{VALGRIND})) { $ENV{MALLOC_CHECK_} = 2; } +# make all our python scripts unbuffered +$ENV{PYTHONUNBUFFERED} = 1; + my $bindir = ($opt_bindir or "$builddir/bin"); my $bindir_abs = abs_path($bindir);