diff mbox series

tests/TestSuite_pmd.py: Excluded the getting system_info details for cavium_nic

Message ID 1606388383-5986-1-git-send-email-usurekha@marvell.com (mailing list archive)
State Accepted
Headers show
Series tests/TestSuite_pmd.py: Excluded the getting system_info details for cavium_nic | expand

Commit Message

usurekha@marvell.com Nov. 26, 2020, 10:59 a.m. UTC
From: usurekha <usurekha@marvell.com>

Signed-off-by: usurekha <usurekha@marvell.com>
---
 tests/TestSuite_pmd.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Tu, Lijuan Dec. 1, 2020, 8:44 a.m. UTC | #1
> Signed-off-by: usurekha <usurekha@marvell.com>

Applied
diff mbox series

Patch

diff --git a/tests/TestSuite_pmd.py b/tests/TestSuite_pmd.py
index 46141d6..bef7429 100644
--- a/tests/TestSuite_pmd.py
+++ b/tests/TestSuite_pmd.py
@@ -90,7 +90,8 @@  class TestPmd(TestCase):
             self.dut.ports_info[port_num]['port'].bind_driver()
 
             sut = SystemInfo(self.dut, pci_device_id)
-            self.system_info = sut.get_system_info()
+            if (self.nic not in ["cavium_a063", "cavium_a064"]):
+                self.system_info = sut.get_system_info()
             self.nic_info = sut.get_nic_info()
 
             self.dut.ports_info[port_num]['port'].bind_driver(ori_driver)