[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH v2 10/12] make-flight: create XSM test jobs
Duplicate Debian PV and HVM test jobs for XSM testing. Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- 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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |