From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radim =?utf-8?B?S3LEjW3DocWZ?= Subject: Re: [PATCH v3 8/9] run_tests: print summary Date: Tue, 10 May 2016 18:17:52 +0200 Message-ID: <20160510161752.GF12472@potion> 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> <57320271.1060902@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Andrew Jones , kvm@vger.kernel.org To: Paolo Bonzini Return-path: Received: from mx1.redhat.com ([209.132.183.28]:40813 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751937AbcEJQR4 (ORCPT ); Tue, 10 May 2016 12:17:56 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B8A113B729 for ; Tue, 10 May 2016 16:17:55 +0000 (UTC) Content-Disposition: inline In-Reply-To: <57320271.1060902@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 2016-05-10 17:46+0200, Paolo Bonzini: > 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.) >=20 > Yeah, same here. Also "2> >(RUNTIME_log_stderr)"? Yes. Time to rewrite it all!