From: yufengmx <yufengx.mo@intel.com>
To: dts@dpdk.org, lei.a.yao@intel.com
Cc: yufengmx <yufengx.mo@intel.com>
Subject: [dts] [PATCH V1 1/2] tests/power_pstate: set check core in cfg file
Date: Fri, 29 May 2020 15:30:22 +0800 [thread overview]
Message-ID: <20200529073023.15259-2-yufengx.mo@intel.com> (raw)
In-Reply-To: <20200529073023.15259-1-yufengx.mo@intel.com>
set check core in cfg file.
Signed-off-by: yufengmx <yufengx.mo@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
next prev parent reply other threads:[~2020-05-29 7:29 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 ` yufengmx [this message]
2020-05-29 8:08 ` [dts] [PATCH V1 1/2] " Yao, Lei A
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=20200529073023.15259-2-yufengx.mo@intel.com \
--to=yufengx.mo@intel.com \
--cc=dts@dpdk.org \
--cc=lei.a.yao@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).