]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
make-flight, mfi-common: create live migration test for libvirt wip.libvirt-v3
authorWei Liu <wei.liu2@citrix.com>
Sun, 8 Feb 2015 16:35:22 +0000 (16:35 +0000)
committerWei Liu <wei.liu2@citrix.com>
Thu, 30 Jul 2015 14:11:02 +0000 (15:11 +0100)
Note that we start testing libvirt migration for 4.4 and above.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
make-flight
mfi-common

index 16be11451312ce6cc1c57a5b85c0e9713c4f7da1..cfb6540b314141018c3cf52ce740ac4530f343f6 100755 (executable)
@@ -526,11 +526,20 @@ test_matrix_do_one () {
   done # qemuu_suffix
 
   # Test live migration
-  job_create_test test-$xenarch$kern-$dom0arch-pair test-pair \
-            $pairtoolstack $xenarch $dom0arch \
+  for toolstack in $pairtoolstack; do
+    # Don't change test case name for old test cases with xl and xend
+    if [ x$toolstack = xxl -o x$toolstack = xxend ]; then
+      toolstack_suffix=""
+    else
+      toolstack_suffix="-$toolstack"
+    fi
+    job_create_test test-$xenarch$kern-$dom0arch$toolstack_suffix-pair \
+            test-pair \
+            $toolstack $xenarch $dom0arch \
             !host !host_hostflags \
             $debian_runvars \
             all_hostflags=$most_hostflags,equiv-1
+  done
 
   if [ x$test_pvh = xy -a $xenarch = amd64 -a $dom0arch = amd64 ]; then
 
index fb2aedc0fe5d07f491f418e56131cbb2ebf81461..c79dd1180133b554d59a6229938580a160218ca0 100644 (file)
@@ -325,7 +325,9 @@ test_matrix_iterate () {
   xen-3.*-testing)      pairtoolstack=xend ;;
   xen-4.0-testing)      pairtoolstack=xend ;;
   xen-4.1-testing)      pairtoolstack=xend ;;
-  *)                    pairtoolstack=xl ;;
+  xen-4.2-testing)      pairtoolstack=xl ;;
+  xen-4.3-testing)      pairtoolstack=xl ;;
+  *)                    pairtoolstack="xl libvirt" ;;
   esac
 
   for xenarch in ${TEST_ARCHES- i386 amd64 armhf } ; do