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).
This commit is contained in:
Kevin Grittner 2015-09-01 16:12:22 -05:00
parent 46bd95e2a8
commit adb495049f

View File

@ -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;
}