From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v2 2/2] cambridge: arrange to test each new baseline Date: Wed, 12 Aug 2015 16:27:13 +0100 Message-ID: <1439393233.8356.53.camel@citrix.com> References: <1437994504-10604-1-git-send-email-ian.campbell@citrix.com> <1437994504-10604-2-git-send-email-ian.campbell@citrix.com> <1439388539.8356.32.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1439388539.8356.32.camel@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@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Wed, 2015-08-12 at 15:08 +0100, Ian Campbell wrote: > I think I need to do something with check_tested to find a flight in the > database. I came up with this incremental patch. I need to generate an up to date baseline for a flight on the Cambridge infra in order to fully test all the cases so I'm just running a linux-arm-xen flight (it doesn't change often and only has a handful of jobs). I'll repost once that is done and I've tested some more. diff --git a/cr-daily-branch b/cr-daily-branch index 4b9b525..f9edbd4 100755 --- a/cr-daily-branch +++ b/cr-daily-branch @@ -100,6 +100,13 @@ if [ "x$OSSTEST_BASELINES_ONLY" = xy ] ; then force_baseline=baselines-only wantpush=false skipidentical=true + if [ "x$treeurl" != xnone: ]; then + treearg=--tree-$tree=$treeurl + fi + tested_revision=`check_tested $treearg --print-revision=$tree` + if [ "x$tested_revision" != x ]; then + OLD_REVISION="$tested_revision" + fi elif [ "x$OSSTEST_NO_BASELINE" != xy ] ; then testedflight=`check_tested --revision-$tree="$OLD_REVISION"` Ian.