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 3D20EA04E0; Wed, 27 Nov 2019 10:34:29 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2EF205596; Wed, 27 Nov 2019 10:34:29 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id F01AE28EE for ; Wed, 27 Nov 2019 10:34:26 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Nov 2019 01:34:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,248,1571727600"; d="scan'208";a="408954208" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga005.fm.intel.com with ESMTP; 27 Nov 2019 01:34:26 -0800 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 27 Nov 2019 01:34:25 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 27 Nov 2019 01:34:25 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.60]) with mapi id 14.03.0439.000; Wed, 27 Nov 2019 17:34:24 +0800 From: "Tu, Lijuan" To: "Mo, YufengX" , "dts@dpdk.org" , "Yao, Lei A" CC: "Mo, YufengX" Thread-Topic: [dts] [PATCH V1 1/1] power_pbf: fix power driver check condition Thread-Index: AQHVpQG9HG8a402L90+xARigms7TfKeewajA Date: Wed, 27 Nov 2019 09:34:23 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB697D1@SHSMSX101.ccr.corp.intel.com> References: <20191127090613.17327-1-yufengx.mo@intel.com> <20191127090613.17327-2-yufengx.mo@intel.com> In-Reply-To: <20191127090613.17327-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-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNzU0OTgxYWEtY2UwOC00MzFhLWFmMGItMDY0ZGNjYTRlNjFjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQWtCR1BLekFHclJYdW9SZm1ONURpMklrNmxNaE1VXC95RWYxZFhqNnY0NGNUQll3YkdyR01uUzZBdkNwcElheTYifQ== 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/1] power_pbf: fix power driver check condition 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, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx > Sent: Wednesday, November 27, 2019 5:06 PM > To: dts@dpdk.org; Yao, Lei A > Cc: Mo, YufengX > Subject: [dts] [PATCH V1 1/1] power_pbf: fix power driver check condition >=20 >=20 > fix power driver check condition. >=20 > Signed-off-by: yufengmx > --- > tests/TestSuite_power_pbf.py | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_power_pbf.py b/tests/TestSuite_power_pbf.py > index fb4cf1a..c0422fa 100644 > --- a/tests/TestSuite_power_pbf.py > +++ b/tests/TestSuite_power_pbf.py > @@ -543,9 +543,10 @@ class TestPowerPbf(TestCase): > raise Exception(msg) >=20 > def verify_power_driver(self): > + expected_drv =3D 'acpi-cpufreq' > power_drv =3D self.get_sys_power_driver() > - msg =3D "power pstate should work with intel_pstate driver" > - self.verify(power_drv =3D=3D 'intel_pstate', msg) > + msg =3D "power pbf should work with {} driver".format(expected_d= rv) > + self.verify(power_drv =3D=3D expected_drv, msg) > # > # Test cases. > # > -- > 2.21.0