Received: from eggs.gnu.org ([2001:4830:134:3::10]:46360) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnpbR-0003NO-8f for qemu-devel@nongnu.org; Fri, 23 May 2014 09:33:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnpbH-0004KR-Gx for qemu-devel@nongnu.org; Fri, 23 May 2014 09:33:41 -0400 Received: from oxygen.pond.sub.org ([2a01:4f8:201:233:1::3]:42217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnpbH-0004JA-9t for qemu-devel@nongnu.org; Fri, 23 May 2014 09:33:31 -0400 From: Markus Armbruster References: <1400794231-27403-1-git-send-email-mreitz@redhat.com> <1400794231-27403-4-git-send-email-mreitz@redhat.com> <20140523061001.GG1668@T430.nay.redhat.com> <537F3EB1.3030200@redhat.com> Date: Fri, 23 May 2014 15:33:26 +0200 In-Reply-To: <537F3EB1.3030200@redhat.com> (Eric Blake's message of "Fri, 23 May 2014 06:27:29 -0600") Message-ID: <87k39cmxg9.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH v3 3/7] iotests: Add default common.env List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Kevin Wolf , Peter Maydell , Fam Zheng , qemu-devel@nongnu.org, Max Reitz , Stefan Hajnoczi Eric Blake writes: > On 05/23/2014 12:10 AM, Fam Zheng wrote: >> On Thu, 05/22 23:30, Max Reitz wrote: >>> Add a default common.env in case the one supposed to be emitted by >>> configure cannot be found. >>> >>> Signed-off-by: Max Reitz >> >> Now we can run both from in-tree build and out-of-tree build without this, >> which is already very good, but we need this patch to run from the source tree >> with an out-of-tree build. I'm not sure we really need that, though. > > If you have a source tree but no in-tree build, then there is no way to > know how many out-of-tree builds there are, or which one you should > pick. If you are going to do out-of-tree builds, you aren't going to > try to run tests from the source tree. Let's not try to guess a build tree. If someone tries to run tests in the source tree, and the source tree has not been made a build tree by running configure there, simply fail.