|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 9/9] make-flight/mfi-common: Add livepatch build/test target in the matrix.
On Tue, Dec 13, 2016 at 01:39:55AM -0500, Konrad Rzeszutek Wilk wrote:
[...]
> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> ---
> make-flight | 12 ++++++++++++
> mfi-common | 9 +++++++++
> 2 files changed, 21 insertions(+)
>
> diff --git a/make-flight b/make-flight
> index a374884..5b2f1dd 100755
> --- a/make-flight
> +++ b/make-flight
> @@ -468,6 +468,17 @@ do_xtf_tests () {
> done
> }
>
> +do_livepatch_tests () {
> + if ! branch_wants_livepatch_tests; then
> + return
> + fi
> +
> + job_create_test test-$xenarch$kern-$dom0arch-livepatch \
> + test-livepatch xl $xenarch $dom0arch \
> + xen_boot_append='loglvl=all' \
> + all_hostflags=$most_hostflags
> +}
> +
> do_multivcpu_tests () {
> if [ $xenarch != $dom0arch ]; then
> return
> @@ -753,6 +764,7 @@ test_matrix_do_one () {
> do_pvgrub_tests
>
> do_xtf_tests
> + do_livepatch_tests
> }
>
> if [ x$buildflight = x ]; then
> diff --git a/mfi-common b/mfi-common
> index 76b93d1..08494f3 100644
> --- a/mfi-common
> +++ b/mfi-common
> @@ -76,6 +76,15 @@ branch_wants_xtf_tests () {
> esac
> }
>
> +branch_wants_livepatch_tests () {
> + case "$branch" in
> + osstest*) return 0;;
> + xen-*) return 0;;
I think you need to filter this test case to only run for 4.7+.
There is no point in running it for older releases.
> + livepatch*) return 0;;
> + *) return 1;;
> + esac
> +}
> +
> job_create_build () {
> job_create_build_filter_callback "$@" || return 0
>
> --
> 2.1.4
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxx
> https://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |