summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xselftest/filter-subunit.pl3
-rwxr-xr-xselftest/format-subunit.pl3
-rwxr-xr-xselftest/selftest.pl3
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