[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST v3 07/11] mfi-common: create build-$arch-xsm job
Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> --- mfi-common | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/mfi-common b/mfi-common index 5c4f5d5..e772086 100644 --- a/mfi-common +++ b/mfi-common @@ -41,6 +41,19 @@ branch_wants_rumpkernel_tests () { esac } +xenbranch_wants_xsm_tests () { + # Test XSM from 4.5 onwards + case "$xenbranch" in + xen-3.*-testing) echo "n";; + xen-4.0-testing) echo "n";; + xen-4.1-testing) echo "n";; + xen-4.2-testing) echo "n";; + xen-4.3-testing) echo "n";; + xen-4.4-testing) echo "n";; + *) echo "n y"; + esac +} + create_build_jobs () { local arch @@ -139,8 +152,15 @@ create_build_jobs () { build_hostflags=share-build-$suite-$arch,arch-$arch,suite-$suite,purpose-build - ./cs-job-create $flight build-$arch build \ + for enable_xsm in $(xenbranch_wants_xsm_tests) ; do + if [ x$enable_xsm = xy ] ; then + xsm_suffix="-xsm" + else + xsm_suffix="" + fi + ./cs-job-create $flight build-$arch$xsm_suffix build \ arch=$arch enable_xend=$build_defxend enable_ovmf=$enable_ovmf\ + enable_xsm=$enable_xsm \ tree_qemu=$TREE_QEMU \ tree_qemuu=$TREE_QEMU_UPSTREAM \ tree_xen=$TREE_XEN \ @@ -152,6 +172,7 @@ create_build_jobs () { revision_qemu=$REVISION_QEMU \ revision_qemuu=$REVISION_QEMU_UPSTREAM \ revision_seabios=$REVISION_SEABIOS + done if [ $build_extraxend = "true" ] ; then ./cs-job-create $flight build-$arch-xend build \ -- 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 |