From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v3 8/9] run_tests: print summary Date: Tue, 10 May 2016 17:46:57 +0200 Message-ID: <57320271.1060902@redhat.com> References: <1460753571-20732-1-git-send-email-rkrcmar@redhat.com> <1460753571-20732-9-git-send-email-rkrcmar@redhat.com> <20160419071947.3v6fjnbdln47ddno@hawk.localdomain> <5731C9F1.80003@redhat.com> <20160510124145.GC12472@potion> <5731F10D.5030300@redhat.com> <20160510153134.GE12472@potion> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Andrew Jones , kvm@vger.kernel.org To: =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= Return-path: Received: from mail-wm0-f68.google.com ([74.125.82.68]:36351 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751318AbcEJPrC (ORCPT ); Tue, 10 May 2016 11:47:02 -0400 Received: by mail-wm0-f68.google.com with SMTP id w143so3303156wmw.3 for ; Tue, 10 May 2016 08:47:02 -0700 (PDT) In-Reply-To: <20160510153134.GE12472@potion> Sender: kvm-owner@vger.kernel.org List-ID: On 10/05/2016 17:31, Radim Kr=C4=8Dm=C3=A1=C5=99 wrote: > The former one works. The latter would work if $RUNTIME_cmd_stdout > accepted $kernel as an argument. >=20 > summary=3D$(eval $cmdline > > >(tee >(RUNTIME_log_stdout $kernel) | extract_summary)) > > Is that acceptable? > (I will gladly degrade performance to have less code in eval.) Yeah, same here. Also "2> >(RUNTIME_log_stderr)"? Thanks, Paolo