From: Ian Campbell Subject: Re: [OSSTEST PATCH 04/13] building: Delete when cloning, not when preparing $builddir Date: Wed, 16 Jul 2014 12:25:04 +0100 Message-ID: <1405509904.7019.74.camel@kazak.uk.xensource.com> References: <1405437747-12753-1-git-send-email-ian.jackson@eu.citrix.com> <1405437747-12753-5-git-send-email-ian.jackson@eu.citrix.com> <1405502349.7019.7.camel@kazak.uk.xensource.com> <21446.19665.778768.287305@mariner.uk.xensource.com> <1405505186.7019.45.camel@kazak.uk.xensource.com> <21446.20852.804852.321588@mariner.uk.xensource.com> <1405506031.7019.53.camel@kazak.uk.xensource.com> <21446.21529.475575.825357@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X7NKt-0005sE-Q2 for xen-devel@lists.xenproject.org; Wed, 16 Jul 2014 11:25:23 +0000 In-Reply-To: <21446.21529.475575.825357@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Wed, 2014-07-16 at 11:29 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [OSSTEST PATCH 04/13] building: Delete when cloning, not when preparing $builddir"): > > On Wed, 2014-07-16 at 11:18 +0100, Ian Jackson wrote: > > > The rumpuserxen xen.git build is done (also, must be done) in a tree > > > which has not had any ordinary build done in it. > > > > OK, then I'm just confused about the purpose of this change ;-) > > > > I thought you were reusing the build tree. > > This change is needed because previously prepbuilddirs would delete > the whole per-job directory. Ah, I see. > I will add some text to the commit messages to clarify this: > > building: Delete when cloning, not when preparing $builddir > ... > > This makes it possible for later steps within a build job to look at > the build trees from previous steps. This is helpful if for any > reason it isn't easy or desirable to package up a formal set of build > outputs for reuse. Thanks, makes sense. > > And > > rump kernel tests: Do a xen.git tools build > ... > > ts-rumpuserxen-build does not generate a formal set of build outputs. > Instead, the ts-xen-build step references the files generated by > ts-rumpuserxen-build directly (and is told where to find them via the > new command prefix runvars). > > Ian.