[dts] [PATCH V1] tests/vf_interrupt_pmd:fix invalid character

Xie, WeiX weix.xie at intel.com
Thu Feb 27 11:23:31 CET 2020


Tested-by:  Xie,WeiX < weix.xie at intel.com>
 Fix not run error, fail cases need further debug.

Regards,
Xie Wei


-----Original Message-----
From: Xie, WeiX 
Sent: Wednesday, February 26, 2020 11:55 AM
To: dts at dpdk.org
Cc: Xie, WeiX <weix.xie at intel.com>
Subject: [dts][PATCH V1] tests/vf_interrupt_pmd:fix invalid character

Signed-off-by: Xie Wei <weix.xie at intel.com>
---
 tests/TestSuite_vf_interrupt_pmd.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/tests/TestSuite_vf_interrupt_pmd.py b/tests/TestSuite_vf_interrupt_pmd.py
index d1361ec..00aa2c6 100644
--- a/tests/TestSuite_vf_interrupt_pmd.py
+++ b/tests/TestSuite_vf_interrupt_pmd.py
@@ -319,8 +319,7 @@ class TestVfInterruptPmd(TestCase):
         """
         Check Interrupt for VF with vfio driver, need test with i40e driver
         """
-        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
-                                 "fortville_spirit_single", "fortpark_TLV"], "%s nic port not support vf multi-queues interrupt" % self.nic)
+        self.verify(self.nic in ['fortville_eagle', 'fortville_spirit', 'fortville_spirit_single', 'fortpark_TLV'], '%s nic port not support vf multi-queues interrupt' % str(self.nic))
         self.queues = 4
         self.prepare_l3fwd_power(self.dut)
         self.set_NIC_link()
@@ -350,8 +349,7 @@ class TestVfInterruptPmd(TestCase):
         """
         Check for interrupts within the VM, need test with i40e driver
         """
-        self.verify(self.nic in ["fortville_eagle", "fortville_spirit",
-                                 "fortville_spirit_single", "fortpark_TLV"], "%s nic not support vf multi-queues interrupt" % self.nic)
+        self.verify(self.nic in ['fortville_eagle', 'fortville_spirit', 'fortville_spirit_single', 'fortpark_TLV'], '%s nic port not support vf multi-queues interrupt' % str(self.nic))
         self.setup_vm_env()
         self.vm0_dut.send_expect("ip link set %s vf 0 mac %s" %
                                  (self.host_intf0, self.vf0_mac), "# ")
-- 
2.17.2



More information about the dts mailing list