selftest: make python run unbuffered
authorAndrew Tridgell <tridge@samba.org>
Thu, 22 Oct 2009 00:04:40 +0000 (11:04 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 22 Oct 2009 01:47:54 +0000 (12:47 +1100)
This makes some output in make test easier to follow

selftest/selftest.pl

index 2aae050590afc7edd92a9c23fb1ce9e17e0feda3..b3017784557e8a770f12b0e8feae946820a56920 100755 (executable)
@@ -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);