summaryrefslogtreecommitdiff
path: root/runtests.pl
diff options
context:
space:
mode:
authorDoug Bell <madcityzen@gmail.com>2014-09-03 23:33:29 -0500
committerDoug Bell <madcityzen@gmail.com>2014-09-03 23:33:29 -0500
commit23fee89e91244d720c5321ab3ab2ad0293ae5014 (patch)
tree321c9ff2a0c446bd6014595b8730ab110bc5018e /runtests.pl
parentd67a01b8619e59785ac3825c46c2ce8ce2e31b11 (diff)
do not buffer STDOUT
This ensures that the status line printed to STDERR at the very end of the script will appear after all other script output.
Diffstat (limited to 'runtests.pl')
-rw-r--r--runtests.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtests.pl b/runtests.pl
index 7bffe81..370b43c 100644
--- a/runtests.pl
+++ b/runtests.pl
@@ -6,6 +6,7 @@ use utf8;
use Term::ANSIColor;
use IO::Handle;
use IPC::Open2;
+$|++;
my $usage="runtests.pl PROGRAM SPEC\nSet ANSI_COLORS_DISABLED=1 if you redirect to a file.\nSet PATT='...' to restrict tests to sections matching a regex.\n";