[V1] tests/unit_tests_dump: Update of adaptive dpdk
Commit Message
DPDK has modified the print log, commit: 26cbb4191e91c07e8f498949b15ad33659797996
DTS needs to be adapted and updated.
Signed-off-by: ChenBo <box.c.chen@intel.com>
---
tests/TestSuite_unit_tests_dump.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
Tested-by: Chen, BoX C <BoX.C.Chen@intel.com>
Regards,
Chen Bo
> -----Original Message-----
> From: ChenBo <box.c.chen@intel.com>
> Sent: October 22, 2020 16:12
> To: dts@dpdk.org
> Cc: Chen, BoX C <box.c.chen@intel.com>
> Subject: [dts][PATCH V1] tests/unit_tests_dump: Update of adaptive dpdk
> DPDK has modified the print log, commit:
> 26cbb4191e91c07e8f498949b15ad33659797996
> DTS needs to be adapted and updated.
>
> Signed-off-by: ChenBo <box.c.chen@intel.com>
Applied
@@ -102,7 +102,7 @@ class TestUnitTestsDump(TestCase):
# Nic driver will create multiple rings.
# Only check the last one to make sure ring_dump function work.
- self.verify( 'MP_mbuf_pool_socket_0' in results, "dump ring name failed")
+ self.verify( 'MP_mb_pool_0' in results, "dump ring name failed")
for result in results:
self.dut.send_expect("%s" % cmd, "testpmd>", self.start_test_time)
out = self.dut.send_expect("dump_ring %s" % result, "testpmd>", self.run_cmd_time)
@@ -123,7 +123,7 @@ class TestUnitTestsDump(TestCase):
m = re.compile(r"%s" % match_regex, re.S)
results = m.findall(out)
- self.verify(results[0][0] == 'mbuf_pool_socket_0', "dump mempool name failed")
+ self.verify(results[0][0] == 'mb_pool_0', "dump mempool name failed")
for result in results:
self.dut.send_expect("%s" % cmd, "testpmd>", self.start_test_time)
out = self.dut.send_expect("dump_mempool %s" % result[0], "testpmd>", self.run_cmd_time * 2)