[dts] [PATCH V1 06/10] tests/vhost_virtio_pmd_interrupt: Modify get_cbdma_ports_info
Lingli Chen
linglix.chen at intel.com
Thu Jul 29 19:24:00 CEST 2021
Signed-off-by: Lingli Chen <linglix.chen at intel.com>
---
tests/TestSuite_vhost_virtio_pmd_interrupt.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
index 675a15ee..e2859f8e 100644
--- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py
+++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
@@ -276,7 +276,7 @@ class TestVhostVirtioPmdInterrupt(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]
--
2.32.0
More information about the dts
mailing list