test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Ma, LihongX" <lihongx.ma@intel.com>
To: "Chen, LingliX" <linglix.chen@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Chen, LingliX" <linglix.chen@intel.com>
Subject: Re: [dts] [PATCH V1] tests/TestSuite_shutdown_api:fixed differences	brought about by speed units
Date: Mon, 12 Oct 2020 06:39:02 +0000	[thread overview]
Message-ID: <BN8PR11MB371561C71CAA77ECDD2F7C8F9E070@BN8PR11MB3715.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20200928071329.8897-1-linglix.chen@intel.com>



> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of Chen Linglix
> Sent: Monday, September 28, 2020 3:13 PM
> To: dts@dpdk.org
> Cc: Chen, LingliX <linglix.chen@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_shutdown_api:fixed differences
> brought about by speed units
> 
> From: chenlinglix <linglix.chen@intel.com>
> 
> fixed differences brought about by speed units
> 
> Signed-off-by: chenlinglix <linglix.chen@intel.com>
> -                self.verify("Link speed: %s Mbps" % config[0] in out,
> -                            "Wrong speed reported by the dut")
> +                if config[0] in['1000', '10000']:
> +                    num =int(int(config[0])/1000)
> +                    self.verify("Link speed: %d Gbps" % num in out,
> +                                "Wrong speed reported by the dut")
> +                else:
> +                    self.verify("Link speed: %s Mbps" % config[0] in out,
> +                                "Wrong speed reported by the dut")

Hi, lingli
Can you write clearly why do we need to do this change ? 


Regards,
Ma,lihong

  parent reply	other threads:[~2020-10-12  6:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-28  7:13 Chen Linglix
2020-09-28  7:21 ` Chen, LingliX
2020-10-12  6:39 ` Ma, LihongX [this message]
2020-10-12  6:54   ` Chen, LingliX
2020-10-13  2:13     ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BN8PR11MB371561C71CAA77ECDD2F7C8F9E070@BN8PR11MB3715.namprd11.prod.outlook.com \
    --to=lihongx.ma@intel.com \
    --cc=dts@dpdk.org \
    --cc=linglix.chen@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).