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 79051A0542; Thu, 13 Feb 2020 11:31:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 459701DB9; Thu, 13 Feb 2020 11:31:08 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 193621D9E for ; Thu, 13 Feb 2020 11:31:06 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Feb 2020 02:31:05 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,436,1574150400"; d="scan'208";a="434382866" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 13 Feb 2020 02:31:05 -0800 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 13 Feb 2020 02:31:05 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 13 Feb 2020 02:31:05 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.222]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.158]) with mapi id 14.03.0439.000; Thu, 13 Feb 2020 18:31:03 +0800 From: "Tu, Lijuan" To: "Mo, YufengX" , "dts@dpdk.org" , "Ma, LihongX" CC: "Mo, YufengX" Thread-Topic: [dts] [PATCH V1 1/2] test/iavf: python3 support Thread-Index: AQHV4jZo3TeNK7QOP0ux4F6g00QeSagY7Ohg Date: Thu, 13 Feb 2020 10:31:02 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBC6989@SHSMSX101.ccr.corp.intel.com> References: <20200213062816.80145-1-yufengx.mo@intel.com> <20200213062816.80145-2-yufengx.mo@intel.com> In-Reply-To: <20200213062816.80145-2-yufengx.mo@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1 1/2] test/iavf: python3 support 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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of yufengmx > Sent: Thursday, February 13, 2020 2:28 PM > To: dts@dpdk.org; Ma, LihongX > Cc: Mo, YufengX > Subject: [dts] [PATCH V1 1/2] test/iavf: python3 support >=20 >=20 > python3 support. >=20 > Signed-off-by: yufengmx > --- > tests/TestSuite_iavf.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_iavf.py b/tests/TestSuite_iavf.py index > d7b1104..dedabbd 100644 > --- a/tests/TestSuite_iavf.py > +++ b/tests/TestSuite_iavf.py > @@ -696,7 +696,7 @@ class TestIavf(TestCase): > if (loading_size <=3D 800): > self.verify(rx_stats =3D=3D tx_stats and int(tx_outlist[= 0]) =3D=3D loading_size, > "the packet segmentation incorrect, %s" % tx_outlist) > else: > - num =3D loading_size/800 > + num =3D loading_size // 800 > for i in range(num): > self.verify(tx_outlist !=3D [], "the packet segmenta= tion > incorrect, %s" % tx_outlist) > self.verify(int(tx_outlist[i]) =3D=3D 800, "the pack= et segmentation > incorrect, %s" % tx_outlist) > -- > 2.21.0