]> xenbits.xensource.com Git - osstest.git/commitdiff
make-flight: Break out do_rumpkernel_tests
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 27 Jun 2014 10:19:47 +0000 (11:19 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 30 Jun 2014 10:17:27 +0000 (11:17 +0100)
No functional change in this patch.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
make-flight

index a01e5eecb3001dfc13226053858e6ec8f4a8823b..a53fab07434a4257a5889bf17a8fee3491c5d68f 100755 (executable)
@@ -115,6 +115,15 @@ test_matrix_branch_filter_callback () {
   return 0
 }
 
+do_rumpkernel_tests () {
+  rumparch=$dom0arch
+  job_create_test test-$xenarch$kern-$dom0arch-rumpuserxen-$rumparch \
+                      test-rumpuserxen xl \
+            $xenarch $dom0arch                                       \
+            rump_rumpuserxenbuildjob=build-$rumparch-rumpuserxen     \
+            all_hostflags=$most_hostflags
+}
+
 do_freebsd_tests () {
 
   if [ $xenarch != amd64 -o $dom0arch != i386 -o "$kern" != "" ]; then
@@ -292,14 +301,7 @@ test_matrix_do_one () {
   *)               test_xend=n ;;
   esac
 
-  rumparch=$dom0arch
-  if true; then
-      job_create_test test-$xenarch$kern-$dom0arch-rumpuserxen-$rumparch \
-                      test-rumpuserxen xl \
-            $xenarch $dom0arch                                       \
-            rump_rumpuserxenbuildjob=build-$rumparch-rumpuserxen     \
-            all_hostflags=$most_hostflags
-  fi
+  do_rumpkernel_tests
 
   # xend PV guest test on x86 only
   if [ x$test_xend = xy -a \( $dom0arch = "i386" -o $dom0arch = "amd64" \) ]; then