From 606ff46447f9b1f8708270a69a248c3439408aab Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 22 Oct 2009 11:04:40 +1100 Subject: selftest: make python run unbuffered This makes some output in make test easier to follow --- selftest/selftest.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'selftest/selftest.pl') diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 2aae050590..b301778455 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); -- cgit