From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 83F38A00C5; Fri, 29 May 2020 10:08:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 311BE1D9E3; Fri, 29 May 2020 10:08:54 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id E6AAA1D9CD for ; Fri, 29 May 2020 10:08:51 +0200 (CEST) IronPort-SDR: uWgvkCJlM/FFy0MKYF6e6mTEcapK79VG9v5bfU0n9R/2blcq9Y/EzQT9aCU33ZiQFBRcNbF35V mY0aPAQ6MX0w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 May 2020 01:08:50 -0700 IronPort-SDR: nMjGL2tlKjs60MsBM5lff28dRi9ZB3X0MYT14Ajf4QvysKAXkXzhimaSWtsJGhqhYAdV0AQMEb aQPMqJBFQnkA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,447,1583222400"; d="scan'208";a="443287945" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 29 May 2020 01:08:50 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 29 May 2020 01:08:50 -0700 Received: from shsmsx602.ccr.corp.intel.com (10.109.6.142) by SHSMSX602.ccr.corp.intel.com (10.109.6.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 29 May 2020 16:08:47 +0800 Received: from shsmsx602.ccr.corp.intel.com ([10.109.6.142]) by SHSMSX602.ccr.corp.intel.com ([10.109.6.142]) with mapi id 15.01.1713.004; Fri, 29 May 2020 16:08:47 +0800 From: "Yao, Lei A" To: "Mo, YufengX" , "dts@dpdk.org" Thread-Topic: [dts][PATCH V1 1/2] tests/power_pstate: set check core in cfg file Thread-Index: AQHWNYrn43D25VJpS0mYe0gnvbZeiai+tZHQ Date: Fri, 29 May 2020 08:08:47 +0000 Message-ID: <0f6666cc154d4462a439b74407e8338c@intel.com> References: <20200529073023.15259-1-yufengx.mo@intel.com> <20200529073023.15259-2-yufengx.mo@intel.com> In-Reply-To: <20200529073023.15259-2-yufengx.mo@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-reaction: no-action dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1 1/2] tests/power_pstate: set check core in cfg file X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" > -----Original Message----- > From: Mo, YufengX > Sent: Friday, May 29, 2020 3:30 PM > To: dts@dpdk.org; Yao, Lei A > Cc: Mo, YufengX > Subject: [dts][PATCH V1 1/2] tests/power_pstate: set check core in cfg fi= le >=20 >=20 > set check core in cfg file. >=20 > Signed-off-by: yufengmx Acked-by: Lei Yao > --- > tests/TestSuite_power_pstate.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > 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 =3D 1 > + core_index =3D 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 =3D self.get_suite_cfg() >=20 > def set_up(self): > """ > -- > 2.21.0