[dts] [PATCH V1] tests/vm power mgr:fix match cpu fail

Lijuan Tu lijuan.tu at intel.com
Mon Dec 24 17:50:53 CET 2018


Applied with changed comments to match the right dpdk commit id.


On 2018年12月24日 15:11, zhao,meijuan wrote:
> dpdk remove power mask function,you can reference b6b22982f
>
> Signed-off-by: zhao,meijuan <meijuanx.zhao at intel.com>
> ---
>   tests/TestSuite_vm_power_manager.py | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_vm_power_manager.py b/tests/TestSuite_vm_power_manager.py
> index 59043c6..7620c19 100644
> --- a/tests/TestSuite_vm_power_manager.py
> +++ b/tests/TestSuite_vm_power_manager.py
> @@ -268,8 +268,7 @@ class TestVmPowerManager(TestCase, IxiaPacketGenerator):
>           # check host core has correct mapped
>           cpu_idx = 0
>           for cpu in cpus:
> -            mask = utils.create_mask([cpu])
> -            cpu_map = '[%d]: Physical CPU Mask %s' % (cpu_idx, mask)
> +            cpu_map = '[%d]: Physical CPU %s' % (cpu_idx, cpu)
>               self.verify(cpu_map in vm_info, "Faile to map host cpu %s" % cpu)
>               cpu_idx += 1
>   



More information about the dts mailing list