Received: from eggs.gnu.org ([2001:4830:134:3::10]:59102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfB6Y-0002mp-UE for qemu-devel@nongnu.org; Mon, 06 Apr 2015 13:46:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfB6X-00076a-UC for qemu-devel@nongnu.org; Mon, 06 Apr 2015 13:46:34 -0400 Message-ID: <5522C667.80200@redhat.com> Date: Mon, 06 Apr 2015 13:46:15 -0400 From: John Snow MIME-Version: 1.0 References: <1427911244-22565-1-git-send-email-emaste@freebsd.org> <551C5DE7.70904@redhat.com> <551C5FAF.7010303@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qtest: Add assertion that required environment variable is set List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Ed Maste Cc: QEMU Trivial , Paolo Bonzini , QEMU Developers On 04/03/2015 07:18 AM, Peter Maydell wrote: > On 2 April 2015 at 20:31, Ed Maste wrote: >> On 1 April 2015 at 18:45, Peter Maydell wrote: >>> Also irritating is the way it silently requires >>> the binary to have a name in the shape it was >>> expecting, which can catch you out if you were >>> trying to set it to a wrapper shell script that >>> invokes valgrind or something... >> >> I don't really have enough context to propose a good user-facing >> message with a tip for manually executing this, so hopefully someone >> else can provide one. I just noticed one other instance that already >> had an assertion on getenv("QTEST_QEMU_BINARY") being non-null. > > Yes, that was just me venting about something that caught me > out in the past rather than review comment on this patch :-) > Sorry for any confusion. > > -- PMM > I'll pull this into ide-next for 2.4 -- I have some ahci-test things to submit anyway. I'll touch up the user facing error messages in a later patch and hit a few of the startup assertions all at once. Thanks. --js