xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: xen-devel@lists.xen.org
Cc: ian.jackson@eu.citrix.com, jfehlig@suse.com,
	Wei Liu <wei.liu2@citrix.com>,
	ian.campbell@citrix.com
Subject: [PATCH OSSTEST 10/12] make-flight: debian hvm tests with libvirt
Date: Mon, 9 Feb 2015 11:10:04 +0000	[thread overview]
Message-ID: <1423480206-9729-11-git-send-email-wei.liu2@citrix.com> (raw)
In-Reply-To: <1423480206-9729-1-git-send-email-wei.liu2@citrix.com>

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
---
 make-flight | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/make-flight b/make-flight
index 8ac3a87..dabcacd 100755
--- a/make-flight
+++ b/make-flight
@@ -92,7 +92,9 @@ job_create_test_filter_callback () {
     *)
       case "$job" in
         *-qemuu-*)
-          if [ "x$toolstack" != xxl ]; then return 1; fi
+          if [ x$toolstack != xxl -a x$toolstack != xlibvirt ];then
+              return 1;
+          fi
           ;;
       esac
       ;;
@@ -208,9 +210,10 @@ do_hvm_debian_test_one () {
   testname=$1
   bios=$2
   xsm=$3
+  toolstack=$4
 
-  job_create_test test-$xenarch$kern-$dom0arch-xl$qemuu_suffix-$testname-amd64\
-    test-debianhvm xl $xenarch $dom0arch $qemuu_runvar \
+  job_create_test test-$xenarch$kern-$dom0arch-$toolstack$qemuu_suffix-$testname-amd64\
+    test-debianhvm $toolstack $xenarch $dom0arch $qemuu_runvar \
     enable_xsm=$xsm                             \
     debianhvm_image=debian-7.2.0-amd64-CD-1.iso \
     bios=$bios \
@@ -226,16 +229,20 @@ do_hvm_debian_tests() {
 
   # QEMU upstream supports ovmf and seabios
   if [ "x$qemuu_suffix" == "x-qemuu" ]; then
-    do_hvm_debian_test_one ovmf ovmf false
-    for xsm in $xsms ; do
-      do_hvm_debian_test_one debianhvm seabios $xsm
+    for toolstack in xl libvirt; do
+      do_hvm_debian_test_one ovmf ovmf false $toolstack
+      for xsm in $xsms ; do
+        do_hvm_debian_test_one debianhvm seabios $xsm $toolstack
+      done
     done
   fi
 
   # QEMU traditional supports rombios
   if [ "x$qemuu_suffix" == "x-qemut" ]; then
     for xsm in $xsms ; do
-      do_hvm_debian_test_one debianhvm rombios $xsm
+      for toolstack in xl libvirt; do
+        do_hvm_debian_test_one debianhvm rombios $xsm $toolstack
+      done
     done
   fi
 }
-- 
1.9.1

  parent reply	other threads:[~2015-02-09 11:10 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-09 11:09 [PATCH OSSTEST 00/12] Libvirt save, restore and migration support Wei Liu
2015-02-09 11:09 ` [PATCH OSSTEST 01/12] toolstack: save / restore check Wei Liu
2015-03-11 16:14   ` Ian Campbell
2015-02-09 11:09 ` [PATCH OSSTEST 02/12] Introduce ts-saverestore-support-check Wei Liu
2015-03-11 16:14   ` Ian Campbell
2015-02-09 11:09 ` [PATCH OSSTEST 03/12] osstest migrate support check catch -> variables Wei Liu
2015-03-11 16:15   ` Ian Campbell
2015-02-09 11:09 ` [PATCH OSSTEST 04/12] toolstack: distinguish local and remote migration support Wei Liu
2015-03-11 16:18   ` Ian Campbell
2015-03-25 21:18     ` Jim Fehlig
2015-03-26 10:02       ` Ian Campbell
2015-02-09 11:09 ` [PATCH OSSTEST 05/12] sg-run-job: remove save/restore dependency on local " Wei Liu
2015-03-11 16:27   ` Ian Campbell
2015-02-09 11:10 ` [PATCH OSSTEST 06/12] toolstack/libvirt: guest migrate, save and restore support Wei Liu
2015-03-11 16:27   ` Ian Campbell
2015-02-09 11:10 ` [PATCH OSSTEST 07/12] ts-xen-build-prep: install ebtables Wei Liu
2015-03-11 16:28   ` Ian Campbell
2015-02-09 11:10 ` [PATCH OSSTEST 08/12] ts-libvirt-build: run libvirt test suite Wei Liu
2015-03-11 16:31   ` Ian Campbell
2015-07-11 15:16     ` Wei Liu
2015-02-09 11:10 ` [PATCH OSSTEST 09/12] ts-debian-hvm-install: stub out libvirt + ovmf / rombios Wei Liu
2015-03-11 16:32   ` Ian Campbell
2015-03-11 16:34   ` Ian Campbell
2015-07-10 14:53     ` Wei Liu
2015-02-09 11:10 ` Wei Liu [this message]
2015-03-11 16:36   ` [PATCH OSSTEST 10/12] make-flight: debian hvm tests with libvirt Ian Campbell
2015-07-10 14:54     ` Wei Liu
2015-02-09 11:10 ` [PATCH OSSTEST 11/12] make-flight, mfi-common: rename onetoolstack to pairtoolstack Wei Liu
2015-03-11 16:37   ` Ian Campbell
2015-02-09 11:10 ` [PATCH OSSTEST 12/12] make-flight, mfi-common: create live migration test for libvirt Wei Liu
2015-03-11 16:38   ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1423480206-9729-11-git-send-email-wei.liu2@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jfehlig@suse.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).