[dts] [PATCH V1] tests/vm power mgr:fix match cpu fail
Yao, BingX Y
bingx.y.yao at intel.com
Mon Dec 24 11:23:07 CET 2018
Tested-by: Yao, bing <bingx.y.yao at intel.com>
-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhao,meijuan
Sent: Monday, December 24, 2018 3:12 PM
To: dts at dpdk.org
Cc: Zhao, MeijuanX <meijuanx.zhao at intel.com>
Subject: [dts] [PATCH V1] tests/vm power mgr:fix match cpu fail
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
--
2.17.2
More information about the dts
mailing list