Received: from eggs.gnu.org ([2001:4830:134:3::10]:43798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmOr6-0000u8-KM for qemu-devel@nongnu.org; Mon, 28 Aug 2017 14:33:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmOr3-0002FB-IS for qemu-devel@nongnu.org; Mon, 28 Aug 2017 14:33:48 -0400 References: <1503916557-1292-1-git-send-email-thuth@redhat.com> From: John Snow Message-ID: Date: Mon, 28 Aug 2017 14:33:42 -0400 MIME-Version: 1.0 In-Reply-To: <1503916557-1292-1-git-send-email-thuth@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] tests/libqtest: Use a proper error message if QTEST_QEMU_BINARY is missing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth , qemu-devel@nongnu.org, qemu-trivial@nongnu.org Cc: Markus Armbruster On 08/28/2017 06:35 AM, Thomas Huth wrote: > The user can currently still cause an abort() if running certain tests > (like the prom-env-test) without setting the QTEST_QEMU_BINARY first. > A similar problem has been fixed with commit 7c933ad61b8f3f51337 > already, but forgot to also take care of the qtest_get_arch() function, > so let's introduce a proper wrapper around getenv("QTEST_QEMU_BINARY") > that can be used in both locations now. > > Buglink: https://bugs.launchpad.net/qemu/+bug/1713434 > Signed-off-by: Thomas Huth Reviewed-by: John Snow