From patchwork Mon Feb 10 13:36:10 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 24407 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 620DE202B2 for ; Mon, 10 Feb 2014 13:38:10 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wp4sf26479614obc.5 for ; Mon, 10 Feb 2014 05:38:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id :mime-version:cc:subject:precedence:list-id:list-unsubscribe :list-post:list-help:list-subscribe:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :list-archive:content-type:content-transfer-encoding; bh=KuOAz4bYBXPJRZmeCyEZaOAYxsYOYqNcSdSrsrXFk+g=; b=dVsdCBqIGkrUmNcg2iX+6YGJAZvoIBWKBXtvVmhsmF+BYcIiB/nZ1UQDPuzaCK4bSB 5xURsn4i9lK8vRX67l+m/cWG8LqHyurVg4re8keWZK8dauwKGwU2IuwDBctBJW3yy8TY 2V7PKyQSlH74aGeBON3wh3fybB76usp69p76cUUbu2pWhHn0X4Y/l75q/W0KCJQjKkHn jVDBKYoe+vPA/mCGPtT5+jXsJWI58Ui6U0dN5VYKZGzCXERw+PDfeT6yvRWqR0ixDl30 og6WT9KFys3F/mIrCGOe2GOmn2GJecCuUVd6ClM63Dii0R/SSepiJYzJLAJsiaJu6SS0 htkw== X-Gm-Message-State: ALoCoQnwPQB5FySua2JUmfVcPI40V0wWMeq3zN2w8gnW/Jbn1pQWv1p8G1cUKlQZWae/AB5CNk13 X-Received: by 10.43.161.202 with SMTP id mh10mr5388257icc.23.1392039489116; Mon, 10 Feb 2014 05:38:09 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.88.203 with SMTP id t69ls2012576qgd.87.gmail; Mon, 10 Feb 2014 05:38:09 -0800 (PST) X-Received: by 10.220.92.135 with SMTP id r7mr23947582vcm.11.1392039489024; Mon, 10 Feb 2014 05:38:09 -0800 (PST) Received: from mail-ve0-f172.google.com (mail-ve0-f172.google.com [209.85.128.172]) by mx.google.com with ESMTPS id x7si4777840vel.114.2014.02.10.05.38.09 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Feb 2014 05:38:09 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.172; Received: by mail-ve0-f172.google.com with SMTP id c14so5008892vea.3 for ; Mon, 10 Feb 2014 05:38:09 -0800 (PST) X-Received: by 10.52.30.230 with SMTP id v6mr20158381vdh.6.1392039488935; Mon, 10 Feb 2014 05:38:08 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp168440vcz; Mon, 10 Feb 2014 05:38:08 -0800 (PST) X-Received: by 10.52.121.113 with SMTP id lj17mr20436996vdb.21.1392039488511; Mon, 10 Feb 2014 05:38:08 -0800 (PST) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id we7si4789107vcb.7.2014.02.10.05.38.07 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 10 Feb 2014 05:38:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xen.org designates 50.57.142.19 as permitted sender) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WCr20-0001ia-9i; Mon, 10 Feb 2014 13:36:16 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WCr1y-0001iV-62 for xen-devel@lists.xen.org; Mon, 10 Feb 2014 13:36:14 +0000 Received: from [85.158.139.211:9398] by server-5.bemta-5.messagelabs.com id 2E/2E-32749-DC5D8F25; Mon, 10 Feb 2014 13:36:13 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-3.tower-206.messagelabs.com!1392039371!2891967!1 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n X-StarScan-Received: X-StarScan-Version: 6.9.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 2648 invoked from network); 10 Feb 2014 13:36:12 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-3.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 10 Feb 2014 13:36:12 -0000 X-IronPort-AV: E=Sophos;i="4.95,818,1384300800"; d="scan'208";a="101295009" Received: from accessns.citrite.net (HELO FTLPEX01CL02.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 10 Feb 2014 13:36:10 +0000 Received: from norwich.cam.xci-test.com (10.80.248.129) by smtprelay.citrix.com (10.13.107.79) with Microsoft SMTP Server id 14.2.342.4; Mon, 10 Feb 2014 08:36:10 -0500 Received: from spare.cam.xci-test.com ([10.80.2.80] helo=kazak.uk.xensource.com.) by norwich.cam.xci-test.com with esmtp (Exim 4.72) (envelope-from ) id 1WCr1u-0003J8-47; Mon, 10 Feb 2014 13:36:10 +0000 From: Ian Campbell To: Date: Mon, 10 Feb 2014 13:36:10 +0000 Message-ID: <1392039370-26216-1-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.8.5.2 MIME-Version: 1.0 X-DLP: MIA2 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH OSSTEST v2] cr-daily-branch: Make it possible to suppress the forcing of a baseline test X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ian.campbell@citrix.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.172 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: This is undesirable (most of the time) in a standalone environment, where you are mostl ikely to be interested in the current version and not historical comparissons. Not sure there isn't a better way. Signed-off-by: Ian Campbell Acked-by: Ian Jackson --- v2: Remove spurious leading "i" from subject (damn you vi!) Use safer test conditional/more obvious syntax Remove unneeded call to check_tested as well. --- cr-daily-branch | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/cr-daily-branch b/cr-daily-branch index da6cf2f..c4a0872 100755 --- a/cr-daily-branch +++ b/cr-daily-branch @@ -85,18 +85,20 @@ check_tested () { "$@" } -testedflight=`check_tested --revision-$tree="$OLD_REVISION"` - -if [ "x$testedflight" = x ]; then - wantpush=false - skipidentical=false - force_baseline=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" +if [ "x$OSSTEST_NO_BASELINE" != xy ] ; then + testedflight=`check_tested --revision-$tree="$OLD_REVISION"` + + if [ "x$testedflight" = x ]; then + wantpush=false + skipidentical=false + force_baseline=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 fi fi