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 5EF60A04EF; Mon, 1 Jun 2020 05:25:03 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 522641D414; Mon, 1 Jun 2020 05:25:03 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id E09F51D40D for ; Mon, 1 Jun 2020 05:25:01 +0200 (CEST) IronPort-SDR: 75ta7CTUW0oNzC+BTPS6n6aloodnbjaa9IWdMdP0ern2FNVFPwzHXfdXhmiuBD7vEb7B/rNM4t Ch6dsM/gnugA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2020 20:25:00 -0700 IronPort-SDR: qElcWf0AbO4hpdC8pr4Z5LNINNA9mgtCW3mp6yzV9Bgqpw/6SKCGmYqGznSsm5Caa8eN5kKInv L/Wkuqbh/03w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,459,1583222400"; d="scan'208";a="268181967" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga003.jf.intel.com with ESMTP; 31 May 2020 20:25:00 -0700 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 31 May 2020 20:25:00 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 31 May 2020 20:25:00 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.85]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.168]) with mapi id 14.03.0439.000; Mon, 1 Jun 2020 11:24:58 +0800 From: "Tu, Lijuan" To: "Mo, YufengX" , "dts@dpdk.org" , "Yao, Lei A" CC: "Mo, YufengX" Thread-Topic: [dts] [PATCH V1 1/2] tests/power_pstate: set check core in cfg file Thread-Index: AQHWNYr2gWXOxGw8A0uaFtjOelgLpKjDHVRw Date: Mon, 1 Jun 2020 03:24:57 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BC56763@SHSMSX101.ccr.corp.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-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" 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" Applied the series, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx > 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 f= ile >=20 >=20 > set check core in cfg file. >=20 > Signed-off-by: yufengmx > --- > 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