From patchwork Wed Jan 22 09:54:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Campbell X-Patchwork-Id: 23507 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f72.google.com (mail-pa0-f72.google.com [209.85.220.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2CE0A203C6 for ; Wed, 22 Jan 2014 11:41:23 +0000 (UTC) Received: by mail-pa0-f72.google.com with SMTP id rd3sf589447pab.11 for ; Wed, 22 Jan 2014 03:41:22 -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:in-reply-to :references: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=vOVXpTPSCrLyisJ4a/DP7LExj3LpcVlX/2mWiBsquSU=; b=eaKU4ZkoMzbIgY5MePJz0FW7q9mMR89h/yvegf1UOj7Rk9RnVVT4TdHAkKnnhssqqC wbYjY6x/j3sehKvMq+hnJYze3rg48e+vspE0nyRUddwywOSPQMrs5fsNs6rvc6A7GDlN zOdv4pwMn6xTp+zgM32nYGClJ20Q1YrplENmYJi/mVv/v9NnpSefhXu0OeJfRZYD1iFw 9cSUeefmYbGjGDTdvs8CJYPG/Ex0PcPDOUFuaOr3N+W8J1DcDd7uBZ98PxbxOckaduSB UxJyMQKAjMg3MhGqDD83BWjyKnO98mdsAtxsUw0/coCIB2fW0sNmy/CO9v3b1+Hqo/xG b62w== X-Gm-Message-State: ALoCoQljJ75kH6wGchfdRWL5j06We/hOMAZOpieOdlw7COIIlfsOevuUX1u8cJkbXrMpGFOnzqx8 X-Received: by 10.66.172.38 with SMTP id az6mr367538pac.7.1390390882313; Wed, 22 Jan 2014 03:41:22 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.16.35 with SMTP id c3ls40530qed.83.gmail; Wed, 22 Jan 2014 03:41:22 -0800 (PST) X-Received: by 10.220.164.80 with SMTP id d16mr518299vcy.15.1390390882161; Wed, 22 Jan 2014 03:41:22 -0800 (PST) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id fb12si4377719veb.52.2014.01.22.03.41.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 Jan 2014 03:41:22 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.177 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id if11so142543vcb.22 for ; Wed, 22 Jan 2014 03:41:22 -0800 (PST) X-Received: by 10.220.1.131 with SMTP id 3mr571498vcf.4.1390390882088; Wed, 22 Jan 2014 03:41:22 -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 u4csp178750vcz; Wed, 22 Jan 2014 03:41:21 -0800 (PST) X-Received: by 10.50.117.5 with SMTP id ka5mr2451843igb.3.1390390881386; Wed, 22 Jan 2014 03:41:21 -0800 (PST) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id mg9si13249229icc.141.2014.01.22.03.41.20 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 22 Jan 2014 03:41:21 -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 1W5uWd-0006cn-FX; Wed, 22 Jan 2014 09:55:11 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1W5uWb-0006aU-Gp for xen-devel@lists.xen.org; Wed, 22 Jan 2014 09:55:09 +0000 Received: from [85.158.139.211:8582] by server-17.bemta-5.messagelabs.com id 84/52-19152-C759FD25; Wed, 22 Jan 2014 09:55:08 +0000 X-Env-Sender: Ian.Campbell@citrix.com X-Msg-Ref: server-10.tower-206.messagelabs.com!1390384504!11231652!4 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n X-StarScan-Received: X-StarScan-Version: 6.9.16; banners=-,-,- X-VirusChecked: Checked Received: (qmail 2230 invoked from network); 22 Jan 2014 09:55:08 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-10.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 22 Jan 2014 09:55:08 -0000 X-IronPort-AV: E=Sophos;i="4.95,698,1384300800"; d="scan'208";a="93181288" Received: from accessns.citrite.net (HELO FTLPEX01CL02.citrite.net) ([10.9.154.239]) by FTLPIPO02.CITRIX.COM with ESMTP; 22 Jan 2014 09:55:03 +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; Wed, 22 Jan 2014 04:55:02 -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 1W5uWT-0005Rs-TT; Wed, 22 Jan 2014 09:55:01 +0000 From: Ian Campbell To: Date: Wed, 22 Jan 2014 09:54:50 +0000 Message-ID: <1390384501-20552-6-git-send-email-ian.campbell@citrix.com> X-Mailer: git-send-email 1.8.5.2 In-Reply-To: <1390384419.32519.32.camel@kazak.uk.xensource.com> References: <1390384419.32519.32.camel@kazak.uk.xensource.com> MIME-Version: 1.0 X-DLP: MIA1 Cc: Ian Campbell , xen-devel@lists.xen.org Subject: [Xen-devel] [PATCH OSSTEST 06/17] mfi-common: Allow caller of create_build_jobs to include/exclude xend builds 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.220.177 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: Signed-off-by: Ian Campbell --- mfi-common | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/mfi-common b/mfi-common index 82bc875..3342acc 100644 --- a/mfi-common +++ b/mfi-common @@ -83,10 +83,14 @@ create_build_jobs () { # In 4.4 onwards xend is off by default. If necessary we build a # separate set of binaries with xend enabled in order to run those # tests which use xend. - case "$arch" in - i386|amd64) want_xend=true;; - *) want_xend=false;; - esac + if [ -z "$WANT_XEND" ]; then + want_xend=$WANT_XEND + else + case "$arch" in + i386|amd64) want_xend=true;; + *) want_xend=false;; + esac + fi case "$xenbranch" in xen-3.*-testing) build_defxend=$want_xend; build_extraxend=false;;