[dts] [PATCH V1 1/2] test/iavf: python3 support
Tu, Lijuan
lijuan.tu at intel.com
Thu Feb 13 11:31:02 CET 2020
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of yufengmx
> Sent: Thursday, February 13, 2020 2:28 PM
> To: dts at dpdk.org; Ma, LihongX <lihongx.ma at intel.com>
> Cc: Mo, YufengX <yufengx.mo at intel.com>
> Subject: [dts] [PATCH V1 1/2] test/iavf: python3 support
>
>
> python3 support.
>
> Signed-off-by: yufengmx <yufengx.mo at intel.com>
> ---
> tests/TestSuite_iavf.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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 <= 800):
> self.verify(rx_stats == tx_stats and int(tx_outlist[0]) == loading_size,
> "the packet segmentation incorrect, %s" % tx_outlist)
> else:
> - num = loading_size/800
> + num = loading_size // 800
> for i in range(num):
> self.verify(tx_outlist != [], "the packet segmentation
> incorrect, %s" % tx_outlist)
> self.verify(int(tx_outlist[i]) == 800, "the packet segmentation
> incorrect, %s" % tx_outlist)
> --
> 2.21.0
More information about the dts
mailing list