summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-22 11:04:40 +1100
committerAndrew Tridgell <tridge@samba.org>2009-10-22 12:47:54 +1100
commit606ff46447f9b1f8708270a69a248c3439408aab (patch)
tree4672cb766deb3d86e26adeb09c03435e14178872
parentdfa0b74516349f892b77f384d0c59ae2008199c2 (diff)
downloadsamba-606ff46447f9b1f8708270a69a248c3439408aab.tar.gz
samba-606ff46447f9b1f8708270a69a248c3439408aab.tar.bz2
samba-606ff46447f9b1f8708270a69a248c3439408aab.zip
selftest: make python run unbuffered
This makes some output in make test easier to follow
-rwxr-xr-xselftest/selftest.pl3
1 files changed, 3 insertions, 0 deletions
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);