diff options
author | Kevin Grittner | 2015-09-01 21:12:22 +0000 |
---|---|---|
committer | Kevin Grittner | 2015-09-01 21:12:22 +0000 |
commit | adb495049f575563930f3c1fbef2843bda3ae46d (patch) | |
tree | 88193a9ec0e7041179532cd22b6c076df7ce37ca | |
parent | 46bd95e2a873feb4799b77eca7276cf758e36cca (diff) |
Flush to show results of TestLib.pm (TAP) test as we go.
It appears that some attempt was made to do this using autocommit,
but it wasn't effective (at least on Ubuntu 14.04).
-rw-r--r-- | src/test/perl/SimpleTee.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/perl/SimpleTee.pm b/src/test/perl/SimpleTee.pm index 8d31a4013c..5da82d0f85 100644 --- a/src/test/perl/SimpleTee.pm +++ b/src/test/perl/SimpleTee.pm @@ -20,6 +20,7 @@ sub PRINT { my $ok = 1; for my $fh (@$self) { print $fh @_ or $ok = 0; + $fh->flush or $ok = 0; } return $ok; } |