[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH] 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 <dario.faggioli@xxxxxxxxxx>
---
 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


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.