From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 109CFA04DD; Thu, 22 Oct 2020 10:13:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 07125A906; Thu, 22 Oct 2020 10:13:10 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id D4BCAA907 for ; Thu, 22 Oct 2020 10:13:08 +0200 (CEST) IronPort-SDR: oXgnSgAPz+uyRxMzq7SD09FxBAHwjpDK2HoN/iEPMMKBXRreUuFT1TNsKGar6uu7o3677/fabR Xo4iJJZv1hvw== X-IronPort-AV: E=McAfee;i="6000,8403,9781"; a="231686336" X-IronPort-AV: E=Sophos;i="5.77,404,1596524400"; d="scan'208";a="231686336" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2020 01:13:06 -0700 IronPort-SDR: eTkXdWNmL3VddnjpGVcNkn8V3j2csjMwAsFBZG6xn+t6Dvopa/QgSTbYflkNmpzs/0rISJScBL yz2OyJBPu+AA== X-IronPort-AV: E=Sophos;i="5.77,404,1596524400"; d="scan'208";a="302276151" Received: from unknown (HELO cb-dts.sh.intel.com) ([10.240.183.58]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2020 01:13:05 -0700 From: ChenBo To: dts@dpdk.org Cc: ChenBo Date: Thu, 22 Oct 2020 16:11:49 +0800 Message-Id: <20201022081149.5568-1-box.c.chen@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] tests/unit_tests_dump: Update of adaptive dpdk X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" DPDK has modified the print log, commit: 26cbb4191e91c07e8f498949b15ad33659797996 DTS needs to be adapted and updated. Signed-off-by: ChenBo --- 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