[V1] tests/unit_tests_dump: Update of adaptive dpdk
diff mbox series

Message ID 20201022081149.5568-1-box.c.chen@intel.com
State Accepted
Headers show
Series
  • [V1] tests/unit_tests_dump: Update of adaptive dpdk
Related show

Commit Message

Chen, BoX C Oct. 22, 2020, 8:11 a.m. UTC
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

Chen, BoX C Oct. 22, 2020, 8:41 a.m. UTC | #1
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
Tu, Lijuan Nov. 3, 2020, 1:50 a.m. UTC | #2
> 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

Patch
diff mbox series

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)