[dts] [PATCH V1 08/10] tests/virtio_event_idx_interrupt: Modify get_cbdma_ports_info
Lingli Chen
linglix.chen at intel.com
Thu Jul 29 19:24:02 CEST 2021
Signed-off-by: Lingli Chen <linglix.chen at intel.com>
---
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 = ''
--
2.32.0
More information about the dts
mailing list