From: Laurent Vivier Subject: Re: [PATCH kvm-unit-tests v2 3/9] x86/run: source config.mak Date: Thu, 8 Jun 2017 12:25:50 +0200 Message-ID: <1f4c43df-0c5a-5884-46b5-939187fd3182@redhat.com> References: <20170606182249.19313-1-drjones@redhat.com> <20170606182249.19313-4-drjones@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: pbonzini@redhat.com, rkrcmar@redhat.com, thuth@redhat.com To: Andrew Jones , kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:50046 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751233AbdFHKZx (ORCPT ); Thu, 8 Jun 2017 06:25:53 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id DBACC80C1A for ; Thu, 8 Jun 2017 10:25:52 +0000 (UTC) In-Reply-To: <20170606182249.19313-4-drjones@redhat.com> Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 06/06/2017 20:22, Andrew Jones wrote: > x86/run will need to start looking at config vars with > the next patch. > > Signed-off-by: Andrew Jones Reviewed-by: Laurent Vivier > --- > x86/run | 9 ++++++++- > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/x86/run b/x86/run > index 5b402a680cc7..88f5ff771140 100755 > --- a/x86/run > +++ b/x86/run > @@ -1,6 +1,13 @@ > #!/usr/bin/env bash > > -[ -z "$STANDALONE" ] && source scripts/arch-run.bash > +if [ -z "$STANDALONE" ]; then > + if [ ! -f config.mak ]; then > + echo "run ./configure && make first. See ./configure -h" > + exit 2 > + fi > + source config.mak > + source scripts/arch-run.bash > +fi > > qemu=$(search_qemu_binary) > >