tap: flush STDOUT on newline
This makes it easier to follow what is going on. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
bae6b59d46
commit
2a11ee1019
@ -313,6 +313,7 @@ sub main ()
|
||||
my $iterator = TAP::Parser::Iterator::Stream->new(\*STDIN);
|
||||
my $parser = TAP::Parser->new ({iterator => $iterator });
|
||||
|
||||
STDOUT->autoflush(1);
|
||||
while (defined (my $cur = $parser->next))
|
||||
{
|
||||
# Parsing of TAP input should stop after a "Bail out!" directive.
|
||||
|
@ -53,6 +53,7 @@ sub main ()
|
||||
my $testno = 0; # Number of test results seen so far.
|
||||
my $bailed_out = 0; # Whether a "Bail out!" directive has been seen.
|
||||
|
||||
STDOUT->autoflush(1);
|
||||
while (defined (my $cur = $parser->next))
|
||||
{
|
||||
if ($cur->is_bailout)
|
||||
|
Loading…
Reference in New Issue
Block a user