From: Ian Campbell Subject: [PATCH OSSTEST 06/17] mfi-common: Allow caller of create_build_jobs to include/exclude xend builds Date: Wed, 22 Jan 2014 09:54:50 +0000 Message-ID: <1390384501-20552-6-git-send-email-ian.campbell@citrix.com> References: <1390384419.32519.32.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1390384419.32519.32.camel@kazak.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@eu.citrix.com Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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;; -- 1.8.5.2