[PATCH 1/2] tests/blocklist: optimize logic to match more driver name of pmd
Niklas Söderlund
niklas.soderlund at corigine.com
Mon Jul 3 21:34:58 CEST 2023
From: Qin Ke <qin.ke at corigine.com>
Driver name of dpdk pmd can match net.*%s.*, not just net.*%s,
optimize it. For example, it is net_nfp_pf for nfp, not net_nfp.
Signed-off-by: Qin Ke <qin.ke at corigine.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund at corigine.com>
Reviewed-by Dano Teixeira <dano.teixeira at corigine.com>
---
tests/TestSuite_blocklist.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_blocklist.py b/tests/TestSuite_blocklist.py
index 9aafc6fec2dc..9d12c8319b23 100644
--- a/tests/TestSuite_blocklist.py
+++ b/tests/TestSuite_blocklist.py
@@ -24,7 +24,7 @@ class TestBlockList(TestCase):
self.verify(len(self.ports) >= 2, "Insufficient ports for testing")
[arch, machine, self.env, toolchain] = self.target.split("-")
self.regexp_blocklisted_port = (
- "Probe PCI driver: net.*%s \(%s\) device: .*%s \(socket [-0-9]+\)"
+ "Probe PCI driver: net.*%s.* \(%s\) device: .*%s \(socket [-0-9]+\)"
)
self.pmdout = PmdOutput(self.dut)
--
2.41.0
More information about the dts
mailing list