test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Yao, Lei A" <lei.a.yao@intel.com>
To: "Mo, YufengX" <yufengx.mo@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1 1/2] tests/power_pstate: set check core in cfg file
Date: Fri, 29 May 2020 08:08:47 +0000	[thread overview]
Message-ID: <0f6666cc154d4462a439b74407e8338c@intel.com> (raw)
In-Reply-To: <20200529073023.15259-2-yufengx.mo@intel.com>



> -----Original Message-----
> From: Mo, YufengX <yufengx.mo@intel.com>
> Sent: Friday, May 29, 2020 3:30 PM
> To: dts@dpdk.org; Yao, Lei A <lei.a.yao@intel.com>
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts][PATCH V1 1/2] tests/power_pstate: set check core in cfg file
> 
> 
> set check core in cfg file.
> 
> Signed-off-by: yufengmx <yufengx.mo@intel.com>
Acked-by: Lei Yao <lei.a.yao@intel.com>
> ---
>  tests/TestSuite_power_pstate.py | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_power_pstate.py
> b/tests/TestSuite_power_pstate.py
> index 7ee6c8f..2ee0981 100644
> --- a/tests/TestSuite_power_pstate.py
> +++ b/tests/TestSuite_power_pstate.py
> @@ -316,7 +316,7 @@ class TestPowerPstate(TestCase):
>          try:
>              self.start_vm_power_mgr()
>              # select one core to run testing
> -            core_index = 1
> +            core_index = self.test_content.get('check_core') or 20
>              # Enable turbo Boost for this core
>              self.send_json_command(core_index, 'ENABLE_TURBO')
>              # these test items sequence can't changed
> @@ -359,6 +359,7 @@ class TestPowerPstate(TestCase):
>          self.verify_power_driver()
>          self.verify_hyper_threading()
>          self.init_test_binary_file()
> +        self.test_content = self.get_suite_cfg()
> 
>      def set_up(self):
>          """
> --
> 2.21.0


  reply	other threads:[~2020-05-29  8:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-29  7:30 [dts] [PATCH V1 0/2] " yufengmx
2020-05-29  7:30 ` [dts] [PATCH V1 1/2] " yufengmx
2020-05-29  8:08   ` Yao, Lei A [this message]
2020-06-01  3:24   ` Tu, Lijuan
2020-05-29  7:30 ` [dts] [PATCH V1 2/2] conf/power_pstate: " yufengmx

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=0f6666cc154d4462a439b74407e8338c@intel.com \
    --to=lei.a.yao@intel.com \
    --cc=dts@dpdk.org \
    --cc=yufengx.mo@intel.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).