From: Dario Faggioli Date: Thu, 8 Jan 2015 17:47:02 +0000 (+0100) Subject: make-flight: reorganize scheduling related test jobs X-Git-Tag: wip.xsm-13-actual.base~64 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2e35f887bf21036b5cf41fff04c9ed11a241d33c;p=people%2Fliuw%2Fosstest.git make-flight: reorganize scheduling related test jobs Scheduling related tests are ok to run on ARM, so do not cut them off. They also do not depend on a particular Dom0 architecture. The net effect is that the following tests are removed: test-amd64-i386-xl-credit2 test-amd64-i386-xl-multivcpu while the following new ones are created: test-amd64-amd64-xl-credit2 test-amd64-amd64-xl-multivcpu test-armhf-armhf-xl-credit2 test-armhf-armhf-xl-multivcpu test-armhf-armhf-xl-sedf test-armhf-armhf-xl-sedf-pin Signed-off-by: Dario Faggioli Acked-by: Ian Jackson --- diff --git a/make-flight b/make-flight index 97e7a06..9b499d8 100755 --- a/make-flight +++ b/make-flight @@ -242,7 +242,7 @@ do_hvm_rhel6_tests () { } do_sedf_tests () { - if [ $xenarch != amd64 -o $dom0arch != amd64 ]; then + if [ $xenarch != $dom0arch ]; then return fi @@ -257,7 +257,7 @@ do_sedf_tests () { } do_credit2_tests () { - if [ $xenarch != amd64 -o $dom0arch != i386 ]; then + if [ $xenarch != $dom0arch ]; then return fi @@ -267,6 +267,16 @@ do_credit2_tests () { $debian_runvars all_hostflags=$most_hostflags } +do_multivcpu_tests () { + if [ $xenarch != $dom0arch ]; then + return + fi + + job_create_test test-$xenarch$kern-$dom0arch-xl-multivcpu \ + test-debian xl $xenarch $dom0arch guests_vcpus=4 \ + $debian_runvars all_hostflags=$most_hostflags +} + do_passthrough_tests () { if [ $xenarch != amd64 -o $dom0arch != amd64 -o "$kern" != "" ]; then return @@ -298,6 +308,10 @@ test_matrix_do_one () { $xenarch $dom0arch \ $debian_runvars all_hostflags=$most_hostflags + do_multivcpu_tests + do_sedf_tests + do_credit2_tests + # No further arm tests at the moment if [ $dom0arch = armhf ]; then return @@ -369,17 +383,6 @@ test_matrix_do_one () { $debian_runvars \ all_hostflags=$most_hostflags,equiv-1 - do_sedf_tests - do_credit2_tests - - if [ $xenarch = amd64 -a $dom0arch = i386 ]; then - - job_create_test test-$xenarch$kern-$dom0arch-xl-multivcpu \ - test-debian xl $xenarch $dom0arch guests_vcpus=4 \ - $debian_runvars all_hostflags=$most_hostflags - - fi - if [ x$test_pvh = xy -a $xenarch = amd64 -a $dom0arch = amd64 ]; then for cpuvendor in amd intel; do