[dts] [PATCH V1] tests/TestSuite_blacklist:Add judgment rule because the startup display of IGB network card is different
Zhang, XiX
xix.zhang at intel.com
Wed May 20 10:04:36 CEST 2020
Tested-by:zhang,xi <xix.zhang at intel.com>
-----Original Message-----
From: Zhang, XiX
Sent: Wednesday, May 20, 2020 3:50 PM
To: dts at dpdk.org
Cc: Zhang, XiX <xix.zhang at intel.com>
Subject: [dts][PATCH V1] tests/TestSuite_blacklist:Add judgment rule because the startup display of IGB network card is different
Add judgment rule because the startup display of IGB network card is different
Signed-off-by: xizhan4x <xix.zhang at intel.com>
---
tests/TestSuite_blacklist.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_blacklist.py b/tests/TestSuite_blacklist.py index 64360bb..2c8c24d 100644
--- a/tests/TestSuite_blacklist.py
+++ b/tests/TestSuite_blacklist.py
@@ -49,7 +49,10 @@ class TestBlackList(TestCase):
self.ports = self.dut.get_ports(self.nic)
self.verify(len(self.ports) >= 2, "Insufficient ports for testing")
[arch, machine, self.env, toolchain] = self.target.split('-')
- self.regexp_blacklisted_port = "Probe PCI driver: net_%s \(%s\) device: %s \(socket [-0-9]+\)"
+ if DRIVERS.get(self.nic)=="igb":
+ self.regexp_blacklisted_port = "Probe PCI driver: net_e1000_%s \(%s\) device: %s \(socket [-0-9]+\)"
+ else:
+ self.regexp_blacklisted_port = "Probe PCI driver: net_%s \(%s\) device: %s \(socket [-0-9]+\)"
self.pmdout = PmdOutput(self.dut)
def set_up(self):
--
2.17.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestBlackList.log
Type: application/octet-stream
Size: 6303 bytes
Desc: TestBlackList.log
URL: <http://mails.dpdk.org/archives/dts/attachments/20200520/035e02f7/attachment.obj>
More information about the dts
mailing list