Re: [Xen-devel] [OSSTEST PATCH RFC v2 09/14] mfi-common: create xtf build job for 4.8 onwards
On Mon, Aug 08, 2016 at 05:26:16PM +0100, Andrew Cooper wrote: > On 08/08/16 17:21, Wei Liu wrote: > > On Mon, Aug 08, 2016 at 03:51:06PM +0100, Ian Jackson wrote: > >> Wei Liu writes ("[OSSTEST PATCH RFC v2 09/14] mfi-common: create xtf build > >> job for 4.8 onwards"): > >>> Signed-off-by: Wei Liu> >> FAOD I am expecting xtf to be useable for older branches by the time > >> this patch series is non-RFC. > >> > > Andrew, I think you have thought about this? > > We should aim for that. > > IIRC, all we need is the ./xtf-runner mode to read from xenconsoled log > files rather than using `xl console` ? > Yes. Wei. > ~Andrew ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel
Re: [Xen-devel] [OSSTEST PATCH RFC v2 09/14] mfi-common: create xtf build job for 4.8 onwards
On 08/08/16 17:21, Wei Liu wrote: > On Mon, Aug 08, 2016 at 03:51:06PM +0100, Ian Jackson wrote: >> Wei Liu writes ("[OSSTEST PATCH RFC v2 09/14] mfi-common: create xtf build >> job for 4.8 onwards"): >>> Signed-off-by: Wei Liu>> FAOD I am expecting xtf to be useable for older branches by the time >> this patch series is non-RFC. >> > Andrew, I think you have thought about this? We should aim for that. IIRC, all we need is the ./xtf-runner mode to read from xenconsoled log files rather than using `xl console` ? ~Andrew ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel
Re: [Xen-devel] [OSSTEST PATCH RFC v2 09/14] mfi-common: create xtf build job for 4.8 onwards
On Mon, Aug 08, 2016 at 03:51:06PM +0100, Ian Jackson wrote: > Wei Liu writes ("[OSSTEST PATCH RFC v2 09/14] mfi-common: create xtf build > job for 4.8 onwards"): > > Signed-off-by: Wei Liu> > FAOD I am expecting xtf to be useable for older branches by the time > this patch series is non-RFC. > Andrew, I think you have thought about this? Wei. > Thanks, > Ian. > > ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel
Re: [Xen-devel] [OSSTEST PATCH RFC v2 09/14] mfi-common: create xtf build job for 4.8 onwards
Wei Liu writes ("[OSSTEST PATCH RFC v2 09/14] mfi-common: create xtf build job for 4.8 onwards"): > Signed-off-by: Wei LiuFAOD I am expecting xtf to be useable for older branches by the time this patch series is non-RFC. Thanks, Ian. ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel
[Xen-devel] [OSSTEST PATCH RFC v2 09/14] mfi-common: create xtf build job for 4.8 onwards
Signed-off-by: Wei Liu--- mfi-common | 29 + 1 file changed, 29 insertions(+) diff --git a/mfi-common b/mfi-common index 971ded3..b1e8dab 100644 --- a/mfi-common +++ b/mfi-common @@ -67,6 +67,21 @@ xenbranch_xsm_variants () { esac } +xenbranch_wants_xtf_tests () { +case "$xenbranch" in +xen-3.*-testing) return 1;; +xen-4.0-testing) return 1;; +xen-4.1-testing) return 1;; +xen-4.2-testing) return 1;; +xen-4.3-testing) return 1;; +xen-4.4-testing) return 1;; +xen-4.5-testing) return 1;; +xen-4.6-testing) return 1;; +xen-4.7-testing) return 1;; +*) return 0;; +esac +} + job_create_build () { job_create_build_filter_callback "$@" || return 0 @@ -265,6 +280,20 @@ create_build_jobs () { fi +if xenbranch_wants_xtf_tests; then +# Only x86, build once for amd64 and use the same result for +# both amd64 and i386 +if [ x$arch = xamd64 ] ; then +job_create_build build-$arch-xtf build-xtf \ +arch=$arch \ +$RUNVARS $BUILD_RUNVARS $BUILD_XTF_RUNVARS $arch_runvars \ +$hostos_runvars \ +host_hostflags=$build_hostflags \ +tree_xtf=$TREE_XTF \ +revision_xtf=$REVISION_XTF +fi +fi + if branch_wants_rumpkernel_tests; then case $arch in -- 2.1.4 ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel