From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 214BCA055E; Wed, 26 Feb 2020 04:49:11 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0B8611BFC8; Wed, 26 Feb 2020 04:49:11 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 171B61BFC7 for ; Wed, 26 Feb 2020 04:49:09 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Feb 2020 19:49:09 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,486,1574150400"; d="scan'208";a="271578230" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 25 Feb 2020 19:49:08 -0800 From: Xie Wei To: dts@dpdk.org Cc: Xie Wei Date: Wed, 26 Feb 2020 11:54:31 +0800 Message-Id: <1582689271-33287-2-git-send-email-weix.xie@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1582689271-33287-1-git-send-email-weix.xie@intel.com> References: <1582689271-33287-1-git-send-email-weix.xie@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1] tests/vf_interrupt_pmd:fix invalid character X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Signed-off-by: Xie Wei --- 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