|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 9/9] make-flight: Test rump kernels only when needed
Introduce a new subroutine branch_wants_rumpkernel_tests and call it
before making the rumpuserxen build and test jobs.
The default is not to include a rumpuserxen test. We include it for
rumpuserxen itself, xen, linux (in case there is a frontend/backend
incompatibility), and osstest.
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
make-flight | 2 ++
mfi-common | 14 ++++++++++++++
2 files changed, 16 insertions(+)
diff --git a/make-flight b/make-flight
index a53fab0..fbda440 100755
--- a/make-flight
+++ b/make-flight
@@ -116,6 +116,8 @@ test_matrix_branch_filter_callback () {
}
do_rumpkernel_tests () {
+ branch_wants_rumpkernel_tests || return 0
+
rumparch=$dom0arch
job_create_test test-$xenarch$kern-$dom0arch-rumpuserxen-$rumparch \
test-rumpuserxen xl \
diff --git a/mfi-common b/mfi-common
index d1b2737..5dcb2ee 100644
--- a/mfi-common
+++ b/mfi-common
@@ -31,6 +31,16 @@ stripy () {
eval "$out_vn=\"\$out_$out_val\""
}
+branch_wants_rumpkernel_tests () {
+ case "$branch" in
+ osstest*) return 0;;
+ rump*) return 0;;
+ xen*) return 0;;
+ linux*) return 0;;
+ *) return 1;;
+ esac
+}
+
create_build_jobs () {
local arch
@@ -180,6 +190,8 @@ create_build_jobs () {
fi
+ if branch_wants_rumpkernel_tests; then
+
case $arch in
i386|amd64)
./cs-job-create $flight build-$arch-rumpuserxen build-rumpuserxen \
@@ -197,6 +209,8 @@ create_build_jobs () {
;;
esac
+ fi
+
case "$arch" in
armhf) continue;; # don't do any other kernel builds
esac
--
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 |