From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [OSSTEST PATCH 30/33] cr-daily-branch: Use mg-adjust-flight to have smoke tests reuse builds Date: Fri, 18 Sep 2015 10:52:45 +0100 Message-ID: <1442569965.18856.284.camel@citrix.com> References: <1442511480-32587-1-git-send-email-ian.jackson@eu.citrix.com> <1442511480-32587-31-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZcsLm-0003cF-BP for xen-devel@lists.xenproject.org; Fri, 18 Sep 2015 09:53:02 +0000 In-Reply-To: <1442511480-32587-31-git-send-email-ian.jackson@eu.citrix.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 , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Thu, 2015-09-17 at 18:37 +0100, Ian Jackson wrote: > The smoke tests are for testing xen-unstable. We want to avoid > building anything else. So arrange to reuse previous builds by > calling mg-adjust-flight-makexrefs. > > Signed-off-by: Ian Jackson > --- > v2: New patch > --- > cr-daily-branch | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/cr-daily-branch b/cr-daily-branch > index 9500bdc..6a5124a 100755 > --- a/cr-daily-branch > +++ b/cr-daily-branch > @@ -276,7 +276,17 @@ if [ "x$NEW_REVISION" = "x$OLD_REVISION" ]; then > fi > > $DAILY_BRANCH_PREMAKE_HOOK > + > flight=`$makeflight $branch $xenbranch $OSSTEST_BLESSING "$@"` > + > +case $branch in > +xen-unstable-smoke) > + ./mg-adjust-flight-makexrefs -v $flight \ > + '!build-amd64 !build-armhf build-*' \ > + --debug --branch=xen-unstable --blessings=real $blessings_arg might be better than an open coded real? Oh, I see, you want to only pickup real builds, even for adhoc or play jobs. That makes sense. Maybe with say so either in a comment or the commit message? Otherwise: Acked-by: Ian Campbell > + ;; > +esac > + > $DAILY_BRANCH_POSTMAKE_HOOK > > heading=tmp/$flight.heading-info