]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
mfi-common: create stubdom build job
authorWei Liu <wei.liu2@citrix.com>
Wed, 16 Mar 2016 15:34:42 +0000 (15:34 +0000)
committerWei Liu <wei.liu2@citrix.com>
Mon, 11 Apr 2016 19:27:46 +0000 (20:27 +0100)
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
mfi-common

index ab7c5e3a007d8298ca8c17f994b5ad7eb5ca1762..f86a40583241aa0dd774a64e81171a069afa0c0b 100644 (file)
@@ -67,6 +67,21 @@ xenbranch_xsm_variants () {
     esac
 }
 
+xenbranch_wants_split_stubdom () {
+  case "$xenbranch" in
+    xen-3.*-testing) return 1 ;;
+    xen-4.0-testing) return 1 ;;
+    xen-4.1-testing) return 1 ;;
+    xen-4.2-testing) return 1 ;;
+    xen-4.3-testing) return 1 ;;
+    xen-4.4-testing) return 1 ;;
+    xen-4.5-testing) return 1 ;;
+    xen-4.6-testing) return 1 ;;
+    xen-4.7-testing) return 1 ;;
+    *) return 0 ;;
+  esac
+}
+
 job_create_build () {
   job_create_build_filter_callback "$@" || return 0
 
@@ -254,6 +269,26 @@ create_build_jobs () {
 
     fi
 
+    if xenbranch_wants_split_stubdom; then
+    case $arch in
+    i386|amd64)
+    job_create_build build-$arch-stubdom build-stubdom                       \
+        arch=$arch                                                           \
+        tree_qemu=$TREE_QEMU                                                 \
+        tree_minios=$TREE_MINIOS                                             \
+        tree_xen=$TREE_XEN                                                   \
+        tree_stubdom=$TREE_STUBDOM                                           \
+        $RUNVARS $BUILD_RUNVARS $BUILD_XEN_RUNVARS $arch_runvars             \
+        $hostos_runvars                                                      \
+        host_hostflags=$build_hostflags                                      \
+        revision_xen=$REVISION_XEN                                           \
+        revision_qemu=$REVISION_QEMU                                         \
+        revision_minios=$REVISION_MINIOS                                     \
+        revision_stubdom=$REVISION_STUBDOM
+        ;;
+    esac
+    fi
+
     if branch_wants_rumpkernel_tests; then
 
     case $arch in