[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST 06/17] mfi-common: Allow caller of create_build_jobs to include/exclude xend builds



Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.