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 12B41A04E1; Wed, 27 Nov 2019 10:04:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EEFDB1B42A; Wed, 27 Nov 2019 10:04:22 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 7CC845596 for ; Wed, 27 Nov 2019 10:04:21 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Nov 2019 01:04:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,248,1571727600"; d="scan'208";a="206717198" Received: from dpdk-moyufen06.sh.intel.com ([10.67.116.222]) by fmsmga008.fm.intel.com with ESMTP; 27 Nov 2019 01:04:20 -0800 From: yufengmx To: dts@dpdk.org, lei.a.yao@intel.com Cc: yufengmx Date: Wed, 27 Nov 2019 17:06:13 +0800 Message-Id: <20191127090613.17327-2-yufengx.mo@intel.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191127090613.17327-1-yufengx.mo@intel.com> References: <20191127090613.17327-1-yufengx.mo@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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" fix power driver check condition. Signed-off-by: yufengmx --- tests/TestSuite_power_pbf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) def verify_power_driver(self): + expected_drv = 'acpi-cpufreq' power_drv = self.get_sys_power_driver() - msg = "power pstate should work with intel_pstate driver" - self.verify(power_drv == 'intel_pstate', msg) + msg = "power pbf should work with {} driver".format(expected_drv) + self.verify(power_drv == expected_drv, msg) # # Test cases. # -- 2.21.0