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@eu.citrix.com>
}
do_rumpkernel_tests () {
+ branch_wants_rumpkernel_tests || return 0
+
rumparch=$dom0arch
job_create_test test-$xenarch$kern-$dom0arch-rumpuserxen-$rumparch \
test-rumpuserxen xl \
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
fi
+ if branch_wants_rumpkernel_tests; then
+
case $arch in
i386|amd64)
./cs-job-create $flight build-$arch-rumpuserxen build-rumpuserxen \
;;
esac
+ fi
+
case "$arch" in
armhf) continue;; # don't do any other kernel builds
esac