xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: ian.jackson@eu.citrix.com
Cc: Ian Campbell <ian.campbell@citrix.com>, xen-devel@lists.xen.org
Subject: [PATCH OSSTEST v8 12/14] make-flight: refactor PV debian tests
Date: Wed, 8 Jul 2015 13:31:00 +0100	[thread overview]
Message-ID: <1436358662-12886-12-git-send-email-ian.campbell@citrix.com> (raw)
In-Reply-To: <1436358648.23508.32.camel@citrix.com>

No functional change, standalone-generate-dump-flight-runvars confirms
no change to the runvars.

Includes a hook which is not used yet, $recipe_sfx.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
v4: new patch
---
 make-flight | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)

diff --git a/make-flight b/make-flight
index 725da26..2a132df 100755
--- a/make-flight
+++ b/make-flight
@@ -361,6 +361,17 @@ do_pvgrub_tests () {
       all_hostflags=$most_hostflags
 }
 
+do_pv_debian_test_one () {
+  testname=$1; shift
+  recipe_sfx=$1; shift
+  toolstack=$1; shift
+
+  job_create_test test-$xenarch$kern-$dom0arch-$testname        \
+     test-debian$recipe_sfx $toolstack                          \
+            $xenarch $dom0arch                                  \
+            $debian_runvars all_hostflags=$most_hostflags $@
+}
+
 do_pv_debian_tests () {
   xsms=$(xenbranch_xsm_variants)
 
@@ -376,20 +387,13 @@ do_pv_debian_tests () {
       suffix=${platform:+-$platform}
       hostflags=${most_hostflags}${platform:+,platform-$platform}
 
-      job_create_test test-$xenarch$kern-$dom0arch-xl$suffix   \
-                      test-debian xl                           \
-                      $xenarch $dom0arch                       \
-                      enable_xsm=$xsm                          \
-                      $debian_runvars all_hostflags=$hostflags
+      do_pv_debian_test_one xl$suffix '' xl enable_xsm=$xsm
+
     done
   done
 
   for xsm in $xsms ; do
-    job_create_test test-$xenarch$kern-$dom0arch-libvirt         \
-                    test-debian libvirt                          \
-                    $xenarch $dom0arch                           \
-                    enable_xsm=$xsm                              \
-                    $debian_runvars all_hostflags=$most_hostflags
+    do_pv_debian_test_one libvirt '' libvirt enable_xsm=$xsm
   done
 }
 
-- 
2.1.4

  parent reply	other threads:[~2015-07-08 12:31 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-08 12:30 [PATCH OSSTEST v8 00/14] add distro domU testing flight Ian Campbell
2015-07-08 12:30 ` [PATCH OSSTEST v8 01/14] mfi-common: Allow make-*flight to filter the set of build jobs to include Ian Campbell
2015-07-08 12:30 ` [PATCH OSSTEST v8 02/14] TestSupport: Add helper to fetch a URL on a host Ian Campbell
2015-07-08 13:29   ` Ian Jackson
2015-07-08 12:30 ` [PATCH OSSTEST v8 03/14] distros: add support for installing Debian PV guests via d-i, flight and jobs Ian Campbell
2015-07-08 12:30 ` [PATCH OSSTEST v8 04/14] distros: support booting Debian PV (d-i installed) guests with pvgrub Ian Campbell
2015-07-08 12:30 ` [PATCH OSSTEST v8 05/14] distros: Support pvgrub for Wheezy too Ian Campbell
2015-07-08 13:32   ` Ian Jackson
2015-07-08 13:51     ` Ian Campbell
2015-07-08 13:58       ` Ian Jackson
2015-07-08 14:55         ` Ian Campbell
2015-07-08 15:25           ` Ian Jackson
2015-07-08 15:51             ` Ian Campbell
2015-07-08 12:30 ` [PATCH OSSTEST v8 06/14] Test pygrub and pvgrub on the regular flights Ian Campbell
2015-07-08 12:30 ` [PATCH OSSTEST v8 07/14] distros: add branch infrastructure Ian Campbell
2015-07-08 12:30 ` [PATCH OSSTEST v8 08/14] crontab-cambridge: Use hard tabs for alignment Ian Campbell
2015-07-08 13:32   ` Ian Jackson
2015-07-08 12:30 ` [PATCH OSSTEST v8 09/14] distros: Run one suite per day on a weekly basis Ian Campbell
2015-07-08 13:33   ` Ian Jackson
2015-07-08 12:30 ` [PATCH OSSTEST v8 10/14] Debian: Handle lack of bootloader support in d-i on ARM Ian Campbell
2015-07-08 12:30 ` [PATCH OSSTEST v8 11/14] ts-debian-di-install: Refactor root_disk specification Ian Campbell
2015-07-08 12:31 ` Ian Campbell [this message]
2015-07-08 12:31 ` [PATCH OSSTEST v8 13/14] Add testing of file backed disk formats Ian Campbell
2015-07-08 13:34   ` Ian Jackson
2015-07-08 12:31 ` [PATCH OSSTEST v8 14/14] make-distros-flight: Use ftp.debian.org directly Ian Campbell
2015-07-08 13:35   ` Ian Jackson
2015-07-23 14:40 ` [PATCH OSSTEST v8 00/14] add distro domU testing flight 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=1436358662-12886-12-git-send-email-ian.campbell@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.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).