diff options
author | Stefan Metzmacher <metze@sernet.private> | 2009-11-16 16:34:13 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-11-17 09:00:46 +0100 |
commit | 259c1d73bf1d9f052ad893bca4e3b4128ea89bfb (patch) | |
tree | 98fc12b97594a588c51ae5b492cdf2644dfa2eb0 /selftest | |
parent | 36d0b1fa0deb3c03dff4ad85fad68fc16622b37e (diff) | |
download | samba-259c1d73bf1d9f052ad893bca4e3b4128ea89bfb.tar.gz samba-259c1d73bf1d9f052ad893bca4e3b4128ea89bfb.tar.bz2 samba-259c1d73bf1d9f052ad893bca4e3b4128ea89bfb.zip |
selftest: make sure we don't buffer any output
metze
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/filter-subunit.pl | 3 | ||||
-rwxr-xr-x | selftest/format-subunit.pl | 3 | ||||
-rwxr-xr-x | selftest/selftest.pl | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/selftest/filter-subunit.pl b/selftest/filter-subunit.pl index 9ebc67778f..5e87ef49f6 100755 --- a/selftest/filter-subunit.pl +++ b/selftest/filter-subunit.pl @@ -82,6 +82,9 @@ if (defined($opt_expected_failures)) { @expected_failures = Subunit::Filter::read_test_regexes($opt_expected_failures); } +# we want unbuffered output +$| = 1; + my $statistics = { TESTS_UNEXPECTED_OK => 0, TESTS_EXPECTED_OK => 0, diff --git a/selftest/format-subunit.pl b/selftest/format-subunit.pl index 9d4e0c0785..472f51a815 100755 --- a/selftest/format-subunit.pl +++ b/selftest/format-subunit.pl @@ -59,6 +59,9 @@ exit(1) if (not $result); my $msg_ops; +# we want unbuffered output +$| = 1; + my $statistics = { SUITES_FAIL => 0, diff --git a/selftest/selftest.pl b/selftest/selftest.pl index b301778455..3536d410ae 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -348,6 +348,9 @@ exit(1) if (not $result); ShowHelp() if ($opt_help); +# we want unbuffered output +$| = 1; + my @tests = @ARGV; # quick hack to disable rpc validation when using valgrind - its way too slow |