xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [OSSTEST PATCH 1/3] make-flight: Factor out do_hvm_win_test_one
Date: Thu, 4 May 2017 13:20:20 +0100	[thread overview]
Message-ID: <1493900422-24511-1-git-send-email-ian.jackson@eu.citrix.com> (raw)
In-Reply-To: <21e192390e454ded923f63502e672554@AMSPEX02CL03.citrite.net>

No functional change.  (Verified with
standalone-generate-dump-flight-runvars.)

Don't bother messing with do_hvm_winxp_tests as 1. that uses testids
without the guest arch, so isn't compatible with this unless we make
it more general 2. we intend to abolish that for most branches
shortly.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
 make-flight | 23 ++++++++++++++++++++---
 1 file changed, 20 insertions(+), 3 deletions(-)

diff --git a/make-flight b/make-flight
index f513b80..e9016fc 100755
--- a/make-flight
+++ b/make-flight
@@ -292,18 +292,35 @@ do_hvm_winxp_tests () {
   done
 }
 
-do_hvm_win7_x64_tests () {
+do_hvm_win_test_one () {
+  local testidpart=$1
+  local isobase=$2
+  local guestarch=$3
+
   if [ $xenarch != amd64 ]; then
     return
   fi
 
-  job_create_test test-$xenarch$kern-$dom0arch-xl$qemuu_suffix-win7-amd64 \
+  case "$guestarch" in
+    amd64)  win_arch=x64 ;;
+    i386)   win_arch=x86 ;;
+    *)      win_arch=$guestarch ;; # probably wrong
+  esac
+
+  local iso=$isobase-$win_arch.iso
+
+  job_create_test \
+      test-$xenarch$kern-$dom0arch-xl$qemuu_suffix-$testidpart-$guestarch \
             test-win xl $xenarch $dom0arch $qemuu_runvar \
-            win_image=win7-x64.iso \
+            win_image=$iso \
             win_acpi_shutdown=true \
             all_hostflags=$most_hostflags,hvm
 }
 
+do_hvm_win7_x64_tests () {
+  do_hvm_win_test_one win7 win7 amd64
+}
+
 do_hvm_debian_nested_tests () {
   bios=$1
 
-- 
2.1.4


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

  reply	other threads:[~2017-05-04 12:20 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-01 18:49 [xen-unstable test] 108068: regressions - FAIL osstest service owner
2017-05-02  9:10 ` Jan Beulich
2017-05-02 12:45   ` Ian Jackson
2017-05-02 13:27     ` Andrew Cooper
2017-05-02 13:42       ` Ian Jackson
2017-05-02 13:46         ` Andrew Cooper
2017-05-02 13:30     ` Wei Liu
2017-05-02 13:32     ` Jan Beulich
2017-05-02 13:40       ` Paul Durrant
2017-05-02 13:44         ` Ian Jackson
2017-05-02 13:58           ` Paul Durrant
2017-05-02 14:04             ` Ian Jackson
2017-05-02 14:05               ` Wei Liu
2017-05-02 14:06               ` Paul Durrant
2017-05-02 14:11             ` Jan Beulich
2017-05-02 14:14               ` Paul Durrant
2017-05-02 14:29                 ` Ian Jackson
2017-05-03 16:05                   ` Newer Windows in Xen Project osstest test lab Ian Jackson
2017-05-03 16:19                     ` Paul Durrant
2017-05-04 12:20                       ` Ian Jackson [this message]
2017-05-04 12:20                         ` [OSSTEST PATCH 2/3] make-flight: Add tests for some more recent Windows versions Ian Jackson
2017-05-04 12:20                         ` [OSSTEST PATCH 3/3] make-flight: Drop Windows XP tests Ian Jackson
2017-05-04 13:19                           ` Jan Beulich
2017-05-11 14:37                             ` Proposal to drop Windows XP tests from Xen Project CI Ian Jackson
2017-05-04 16:00                           ` Ian Jackson

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=1493900422-24511-1-git-send-email-ian.jackson@eu.citrix.com \
    --to=ian.jackson@eu.citrix.com \
    --cc=xen-devel@lists.xenproject.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).