From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:39061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjSxA-0002Gm-T5 for qemu-devel@nongnu.org; Tue, 15 Jan 2019 12:56:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjSx9-0008Rv-Sd for qemu-devel@nongnu.org; Tue, 15 Jan 2019 12:56:44 -0500 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]:55113) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjSx9-0008Iy-FZ for qemu-devel@nongnu.org; Tue, 15 Jan 2019 12:56:43 -0500 Received: by mail-wm1-x343.google.com with SMTP id a62so4237936wmh.4 for ; Tue, 15 Jan 2019 09:56:19 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 15 Jan 2019 18:56:16 +0100 Message-Id: <1547574976-6372-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH] tap: flush STDOUT on newline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: thuth@redhat.com This makes it easier to follow what is going on. Signed-off-by: Paolo Bonzini --- scripts/tap-driver.pl | 1 + scripts/tap-merge.pl | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/tap-driver.pl b/scripts/tap-driver.pl index 5e59b5d..6621a5c 100755 --- a/scripts/tap-driver.pl +++ b/scripts/tap-driver.pl @@ -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. diff --git a/scripts/tap-merge.pl b/scripts/tap-merge.pl index 59e3fa5..10ccf57 100755 --- a/scripts/tap-merge.pl +++ b/scripts/tap-merge.pl @@ -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) -- 1.8.3.1