[dts] [PATCH V1 1/1] power_pbf: fix power driver check condition

Tu, Lijuan lijuan.tu at intel.com
Wed Nov 27 10:34:23 CET 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of yufengmx
> Sent: Wednesday, November 27, 2019 5:06 PM
> To: dts at dpdk.org; Yao, Lei A <lei.a.yao at intel.com>
> Cc: Mo, YufengX <yufengx.mo at intel.com>
> Subject: [dts] [PATCH V1 1/1] power_pbf: fix power driver check condition
> 
> 
> fix power driver check condition.
> 
> Signed-off-by: yufengmx <yufengx.mo at intel.com>
> ---
>  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



More information about the dts mailing list