All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xenproject.org, Marcos.Matsunaga@oracle.com,
	Ian.Jackson@eu.citrix.com, Wei Liu <wei.liu2@citrix.com>,
	ross.lagerwall@citrix.com
Subject: Re: [PATCH v2 9/9] make-flight/mfi-common: Add livepatch build/test target in the matrix.
Date: Tue, 13 Dec 2016 16:14:01 +0000	[thread overview]
Message-ID: <20161213161401.GA25425@citrix.com> (raw)
In-Reply-To: <1481611195-105372-10-git-send-email-konrad.wilk@oracle.com>

On Tue, Dec 13, 2016 at 01:39:55AM -0500, Konrad Rzeszutek Wilk wrote:
[...]
> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
> ---
>  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@lists.xen.org
> https://lists.xen.org/xen-devel

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

  reply	other threads:[~2016-12-13 16:14 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-13  6:39 [PATCH v2] OSSTest test-harness for livepatches Konrad Rzeszutek Wilk
2016-12-13  6:39 ` [PATCH v2 1/9] OssTest: Add target_cmd_root_status which returns return code Konrad Rzeszutek Wilk
2016-12-13 16:20   ` Ian Jackson
2016-12-13  6:39 ` [PATCH v2 2/9] Osstest: Add target_cmd_output_root_status Konrad Rzeszutek Wilk
2016-12-13 16:23   ` Ian Jackson
2016-12-13  6:39 ` [PATCH v2 3/9] OssTest: Add target_dir_exists Konrad Rzeszutek Wilk
2016-12-13 16:24   ` Ian Jackson
2017-05-17 20:59     ` Konrad Rzeszutek Wilk
2017-05-18 16:50       ` Ian Jackson
2016-12-13  6:39 ` [PATCH v2 4/9] ts-xen-build: Make {xen|}dist.tar.gz only if $builddir/install/{$xen|}install Konrad Rzeszutek Wilk
2016-12-13  6:39 ` [PATCH v2 5/9] ts-xen-build: Enable livepatch Konrad Rzeszutek Wilk
2016-12-13  6:39 ` [PATCH v2 6/9] ts-xen-build: Build the livepatch test-cases Konrad Rzeszutek Wilk
2016-12-13 16:49   ` Ian Jackson
2017-05-18  0:07     ` Konrad Rzeszutek Wilk
2017-05-17 20:30       ` Konrad Rzeszutek Wilk
2017-05-18 16:41         ` Ian Jackson
2017-05-18  6:49     ` Konrad Rzeszutek Wilk
2017-05-18 16:47       ` Ian Jackson
2017-05-18 19:57         ` Konrad Rzeszutek Wilk
2016-12-13  6:39 ` [PATCH v2 7/9] ts-livepatch-[install|run]: Install and initial test-cases Konrad Rzeszutek Wilk
2016-12-13 17:08   ` Ian Jackson
2016-12-13  6:39 ` [PATCH v2 8/9] sg-run-job: Add the test-livepatch Konrad Rzeszutek Wilk
2016-12-13 17:08   ` Ian Jackson
2016-12-13  6:39 ` [PATCH v2 9/9] make-flight/mfi-common: Add livepatch build/test target in the matrix Konrad Rzeszutek Wilk
2016-12-13 16:14   ` Wei Liu [this message]
2016-12-13 16:44     ` Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161213161401.GA25425@citrix.com \
    --to=wei.liu2@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=Marcos.Matsunaga@oracle.com \
    --cc=konrad.wilk@oracle.com \
    --cc=ross.lagerwall@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.