From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40645) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkaEC-0007aC-U4 for qemu-devel@nongnu.org; Wed, 14 May 2014 10:32:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkaE8-00071T-4r for qemu-devel@nongnu.org; Wed, 14 May 2014 10:32:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:24445) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkaE7-000708-Th for qemu-devel@nongnu.org; Wed, 14 May 2014 10:32:12 -0400 Date: Wed, 14 May 2014 16:32:07 +0200 From: Kevin Wolf Message-ID: <20140514143207.GL3610@noname.redhat.com> References: <1400077612-28488-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1400077612-28488-1-git-send-email-peter.maydell@linaro.org> Subject: Re: [Qemu-devel] [PATCH] configure: Ensure tests/qemu-iotests exists before writing common.env List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Markus Armbruster , qemu-devel@nongnu.org, Stefan Hajnoczi , Max Reitz Am 14.05.2014 um 16:26 hat Peter Maydell geschrieben: > Before we write common.env to the tests/qemu-iotests directory, ensure > that it exists. This fixes out-of-tree builds from clean. > > Signed-off-by: Peter Maydell > --- > If somebody would like to review this I'll apply it to master as > a buildfix... > > configure | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configure b/configure > index 6adfa72..c4e43ed 100755 > --- a/configure > +++ b/configure > @@ -4770,6 +4770,7 @@ fi > > iotests_common_env="tests/qemu-iotests/common.env" > > +mkdir -p "$(dirname "$iotests_common_env")" > echo "# Automatically generated by configure - do not modify" > $iotests_common_env > echo >> $iotests_common_env > echo "PYTHON='$python'" >> $iotests_common_env We already have an mkdir -p, in the section at line 5161ff. Perhaps we should just move that to further above? But as this is a build fix, I don't want to start bikeshedding, so I'm not objecting to your patch. Kevin