From patchwork Thu Jul 29 17:24:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lingli Chen X-Patchwork-Id: 96385 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CAE4FA0C45; Thu, 29 Jul 2021 11:23:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AA45F4111B; Thu, 29 Jul 2021 11:23:11 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 04086410F3 for ; Thu, 29 Jul 2021 11:23:08 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10059"; a="234731934" X-IronPort-AV: E=Sophos;i="5.84,278,1620716400"; d="scan'208";a="234731934" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2021 02:23:03 -0700 X-IronPort-AV: E=Sophos;i="5.84,278,1620716400"; d="scan'208";a="456788387" Received: from unknown (HELO localhost.localdomain) ([10.240.183.77]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jul 2021 02:23:01 -0700 From: Lingli Chen To: dts@dpdk.org Cc: Lingli Chen Date: Thu, 29 Jul 2021 17:24:02 +0000 Message-Id: <20210729172404.90883-9-linglix.chen@intel.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210729172404.90883-1-linglix.chen@intel.com> References: <20210729172404.90883-1-linglix.chen@intel.com> MIME-Version: 1.0 Subject: [dts] [PATCH V1 08/10] tests/virtio_event_idx_interrupt: Modify get_cbdma_ports_info X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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" Signed-off-by: Lingli Chen --- tests/TestSuite_virtio_event_idx_interrupt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_virtio_event_idx_interrupt.py b/tests/TestSuite_virtio_event_idx_interrupt.py index 37634f05..33c33df6 100644 --- a/tests/TestSuite_virtio_event_idx_interrupt.py +++ b/tests/TestSuite_virtio_event_idx_interrupt.py @@ -93,7 +93,7 @@ class TestVirtioIdxInterrupt(TestCase): self.verify(self.drivername == 'igb_uio', "CBDMA test case only use igb_uio driver, need config drivername=igb_uio in execution.cfg") out = self.dut.send_expect('./usertools/dpdk-devbind.py --status-dev misc', '# ', 30) - cbdma_dev_infos = re.findall('\s*(0000:\d+:\d+.\d+)', out) + cbdma_dev_infos = re.findall('\s*(0000:\S+:\d+.\d+)', out) self.verify(len(cbdma_dev_infos) >= cbdma_num, 'There no enough cbdma device to run this suite') used_cbdma = cbdma_dev_infos[0:cbdma_num] dmas_info = ''