From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: [OSSTEST PATCH] make-flight: reorganize scheduling related test jobs Date: Thu, 08 Jan 2015 18:47:02 +0100 Message-ID: <20150108174702.12031.23149.stgit@Abyss.station> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Ian.Jackson@eu.citrix.com, Wei Liu , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 --- make-flight | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/make-flight b/make-flight index a91f256..977e624 100755 --- a/make-flight +++ b/make-flight @@ -241,7 +241,7 @@ do_hvm_rhel6_tests () { } do_sedf_tests () { - if [ $xenarch != amd64 -o $dom0arch != amd64 ]; then + if [ $xenarch != $dom0arch ]; then return fi @@ -256,7 +256,7 @@ do_sedf_tests () { } do_credit2_tests () { - if [ $xenarch != amd64 -o $dom0arch != i386 ]; then + if [ $xenarch != $dom0arch ]; then return fi @@ -266,6 +266,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 @@ -293,6 +303,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 @@ -364,17 +378,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