From: Wei Liu <wei.liu2@citrix.com>
To: xen-devel@lists.xen.org
Cc: Wei Liu <wei.liu2@citrix.com>,
dgdegra@tycho.nsa.gov, ian.jackson@eu.citrix.com,
ian.campbell@citrix.com
Subject: [OSSTEST PATCH v2 10/12] make-flight: create XSM test jobs
Date: Wed, 24 Sep 2014 22:04:35 +0100 [thread overview]
Message-ID: <1411592677-2632-11-git-send-email-wei.liu2@citrix.com> (raw)
In-Reply-To: <1411592677-2632-1-git-send-email-wei.liu2@citrix.com>
Duplicate Debian PV and HVM test jobs for XSM testing.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
make-flight | 54 ++++++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 46 insertions(+), 8 deletions(-)
diff --git a/make-flight b/make-flight
index 9963a46..0b04ed4 100755
--- a/make-flight
+++ b/make-flight
@@ -200,27 +200,41 @@ do_hvm_win7_x64_tests () {
do_hvm_debian_test_one () {
testname=$1
bios=$2
- job_create_test test-$xenarch$kern-$dom0arch-xl$qemuu_suffix-$testname-amd64\
+ xsm=$3
+
+ xsm_suffix=""
+ if [ x$xsm = xy ] ; then
+ xsm_suffix="-xsm"
+ fi
+
+ job_create_test test-$xenarch$kern-$dom0arch-xl$qemuu_suffix-$testname-amd64$xsm_suffix\
test-debianhvm xl $xenarch $dom0arch $qemuu_runvar \
+ enable_xsm=$xsm \
debianhvm_image=debian-7.2.0-amd64-CD-1.iso \
bios=$bios \
all_hostflags=$most_hostflags,hvm
}
do_hvm_debian_tests() {
+ test_xsm="$@"
+
if [ $xenarch != amd64 ]; then
return
fi
# QEMU upstream supports ovmf and seabios
if [ "x$qemuu_suffix" == "x-qemuu" ]; then
- do_hvm_debian_test_one ovmf ovmf
- do_hvm_debian_test_one debianhvm seabios
+ do_hvm_debian_test_one ovmf ovmf n
+ for xsm in $test_xsm ; do
+ do_hvm_debian_test_one debianhvm seabios $xsm
+ done
fi
# QEMU traditional supports rombios
if [ "x$qemuu_suffix" == "x-qemut" ]; then
- do_hvm_debian_test_one debianhvm rombios
+ for xsm in $test_xsm ; do
+ do_hvm_debian_test_one debianhvm rombios $xsm
+ done
fi
}
@@ -281,13 +295,37 @@ do_passthrough_tests () {
done
}
-test_matrix_do_one () {
+do_pv_linux_xl_test_one () {
+ xsm=$1
- # Basic PV Linux test with xl
+ xsm_suffix=""
+ if [ x$xsm = xy ] ; then
+ xsm_suffix="-xsm"
+ fi
- job_create_test test-$xenarch$kern-$dom0arch-xl test-debian xl \
+ job_create_test test-$xenarch$kern-$dom0arch-xl$xsm_suffix test-debian xl \
$xenarch $dom0arch \
+ enable_xsm=$xsm \
$debian_runvars all_hostflags=$most_hostflags
+}
+
+test_matrix_do_one () {
+
+ # xsm tests for versions > 4.4, arch amd64 and armhf
+ case "$xenbranch:$xenarch" in
+ xen-3.*-testing:*) test_xsm="n";;
+ xen-4.0-testing:*) test_xsm="n";;
+ xen-4.1-testing:*) test_xsm="n";;
+ xen-4.2-testing:*) test_xsm="n";;
+ xen-4.3-testing:*) test_xsm="n";;
+ xen-4.4-testing:*) test_xsm="n";;
+ *:amd64|armhf) test_xsm="n y";;
+ esac
+
+ # Basic PV Linux test with xl
+ for xsm in $test_xsm ; do
+ do_pv_linux_xl_test_one $xsm
+ done
job_create_test test-$xenarch$kern-$dom0arch-libvirt test-debian libvirt \
$xenarch $dom0arch \
@@ -342,7 +380,7 @@ test_matrix_do_one () {
do_hvm_win7_x64_tests
do_hvm_rhel6_tests
- do_hvm_debian_tests
+ do_hvm_debian_tests $test_xsm
done # qemuu_suffix
--
1.7.10.4
next prev parent reply other threads:[~2014-09-24 21:04 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-24 21:04 [OSSTEST PATCH v2 00/12] XSM test cases for OSSTest Wei Liu
2014-09-24 21:04 ` [OSSTEST PATCH v2 01/12] README: list chiark-utils-bin as requirement Wei Liu
2014-10-10 15:28 ` Ian Jackson
2014-09-24 21:04 ` [OSSTEST PATCH v2 02/12] gitignore: ignore images directory Wei Liu
2014-10-10 15:28 ` Ian Jackson
2014-09-24 21:04 ` [OSSTEST PATCH v2 03/12] ts-xen-build-prep: install checkpolicy Wei Liu
2014-10-10 15:28 ` Ian Jackson
2014-09-24 21:04 ` [OSSTEST PATCH v2 04/12] ts-xen-build: build with XSM support if requested Wei Liu
2014-10-10 15:29 ` Ian Jackson
2014-09-24 21:04 ` [OSSTEST PATCH v2 05/12] mfi-common: create build-$arch-xsm job Wei Liu
2014-10-10 15:32 ` Ian Jackson
2014-10-10 15:38 ` Wei Liu
2014-09-24 21:04 ` [OSSTEST PATCH v2 06/12] Debian.pm: pass in XSM configuration to bootloader setup routines Wei Liu
2014-10-10 15:39 ` Ian Jackson
2014-09-24 21:04 ` [OSSTEST PATCH v2 07/12] Debian.pm: load flask policy in uboot Wei Liu
2014-10-10 15:39 ` Ian Jackson
2014-10-10 15:55 ` Wei Liu
2014-10-10 16:06 ` Ian Jackson
2014-09-24 21:04 ` [OSSTEST PATCH v2 08/12] ts-xen-install: install Xen with XSM support if requested Wei Liu
2014-10-10 15:51 ` Ian Jackson
2014-10-10 16:27 ` Wei Liu
2014-10-10 16:38 ` Ian Jackson
2014-09-24 21:04 ` [OSSTEST PATCH v2 09/12] mfi-common: use XSM build if job name contains -xsm suffix Wei Liu
2014-10-10 15:53 ` Ian Jackson
2014-09-24 21:04 ` Wei Liu [this message]
2014-10-10 16:00 ` [OSSTEST PATCH v2 10/12] make-flight: create XSM test jobs Ian Jackson
2014-10-13 18:41 ` Wei Liu
2014-10-14 15:41 ` Ian Jackson
2014-10-14 16:10 ` Wei Liu
2014-09-24 21:04 ` [OSSTEST PATCH v2 11/12] ts-debian-install: add in seclabel if XSM is enabled Wei Liu
2014-10-10 16:01 ` Ian Jackson
2014-10-10 16:29 ` Wei Liu
2014-10-10 16:41 ` Ian Jackson
2014-10-10 17:11 ` Wei Liu
2014-10-10 17:26 ` Ian Jackson
2014-10-10 17:31 ` Wei Liu
2014-10-14 7:26 ` Ian Campbell
2014-10-14 14:04 ` Ian Jackson
2014-09-24 21:04 ` [OSSTEST PATCH v2 12/12] ts-debian-hvm-install: " Wei Liu
2014-10-10 16:03 ` Ian Jackson
2014-10-10 16:36 ` Wei Liu
2014-10-10 17:25 ` Ian Jackson
2014-10-10 12:14 ` [OSSTEST PATCH v2 00/12] XSM test cases for OSSTest Wei Liu
2014-10-10 14:20 ` 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=1411592677-2632-11-git-send-email-wei.liu2@citrix.com \
--to=wei.liu2@citrix.com \
--cc=dgdegra@tycho.nsa.gov \
--cc=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).