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

Tu, Lijuan lijuan.tu at intel.com
Tue Mar 3 06:24:54 CET 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xie Wei
> 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 suppo
> rt 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