[dts] [PATCH V1] tests/unit_tests_dump: Update of adaptive dpdk
ChenBo
box.c.chen at intel.com
Thu Oct 22 10:11:49 CEST 2020
DPDK has modified the print log, commit: 26cbb4191e91c07e8f498949b15ad33659797996
DTS needs to be adapted and updated.
Signed-off-by: ChenBo <box.c.chen at intel.com>
---
tests/TestSuite_unit_tests_dump.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_unit_tests_dump.py b/tests/TestSuite_unit_tests_dump.py
index 603cc1a..336cce2 100644
--- a/tests/TestSuite_unit_tests_dump.py
+++ b/tests/TestSuite_unit_tests_dump.py
@@ -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)
--
2.17.1
More information about the dts
mailing list