test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, LijuanX A" <lijuanx.a.tu@intel.com>
To: "Xu, HuilongX" <huilongx.xu@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [10/12] add test start time and exec cmd time for pmd_perf	unit test
Date: Tue, 27 Oct 2015 08:39:25 +0000	[thread overview]
Message-ID: <38D041F150D4184C8114E499040E62340723599A@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <1445931412-86352-11-git-send-email-huilongx.xu@intel.com>

Acked by tu,lijuan <lijuanx.a.tu@intel.com>

> Signed-off-by: xu,huilong <huilongx.xu@intel.com>
> ---
>  tests/TestSuite_unit_tests_pmd_perf.py | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/tests/TestSuite_unit_tests_pmd_perf.py b/tests/TestSuite_unit_tests_pmd_perf.py
> index 8745227..3be47f9 100644
> --- a/tests/TestSuite_unit_tests_pmd_perf.py
> +++ b/tests/TestSuite_unit_tests_pmd_perf.py
> @@ -90,10 +90,10 @@ class TestUnitTestsPmdPerf(TestCase):
>          Run pmd stream control mode burst test case.
>          """
>  
> -        self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>.*>", 30)
> +        self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>.*>", 60)
>          for mode in self.burst_ctlmodes:
> -            self.dut.send_expect("set_rxtx_sc %s" % mode, "RTE>>", 5)
> -            out = self.dut.send_expect("pmd_perf_autotest", "RTE>>", 60)
> +            self.dut.send_expect("set_rxtx_sc %s" % mode, "RTE>>", 10)
> +            out = self.dut.send_expect("pmd_perf_autotest", "RTE>>", 120)
>              match_regex = "Result: (\d+) cycles per packet"
>              m = re.compile(r"%s" % match_regex, re.S)
>              result = m.search(out)
> @@ -113,16 +113,16 @@ class TestUnitTestsPmdPerf(TestCase):
>  
>          for mode in self.rxtx_modes:
>              if mode is "scalar":
> -                self.dut.send_expect("./app/test/test_scalar -n 1 -c ffff", "R.*T.*E.*>.*>", 30)
> +                self.dut.send_expect("./app/test/test_scalar -n 1 -c ffff", "R.*T.*E.*>.*>", 60)
>              else:
> -                self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>.*>", 30)
> +                self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>.*>", 60)
>  
>              table_row = [mode]
> -            self.dut.send_expect("set_rxtx_sc continuous", "RTE>>", 5)
> -            self.dut.send_expect("set_rxtx_mode %s" % mode, "RTE>>", 5)
> +            self.dut.send_expect("set_rxtx_sc continuous", "RTE>>", 10)
> +            self.dut.send_expect("set_rxtx_mode %s" % mode, "RTE>>",10)
>              for anchor in self.anchors:
> -                self.dut.send_expect("set_rxtx_anchor %s" % anchor, "RTE>>", 5)
> -                out = self.dut.send_expect("pmd_perf_autotest", "RTE>>", 60)
> +                self.dut.send_expect("set_rxtx_anchor %s" % anchor, "RTE>>", 10)
> +                out = self.dut.send_expect("pmd_perf_autotest", "RTE>>", 120)
>                  match_regex = "Result: (\d+) cycles per packet"
>                  m = re.compile(r"%s" % match_regex, re.S)
>                  result = m.search(out)
> -- 
> 1.9.3
> 
>

  reply	other threads:[~2015-10-27  8:39 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-27  7:36 [dts] [00/12] add test start time xu,huilong
2015-10-27  7:36 ` [dts] [01/12] add test start time and exec cmd time for cmdline unit test xu,huilong
2015-10-27  8:28   ` Tu, LijuanX A
2015-10-27  8:29   ` Tu, LijuanX A
2015-10-27  7:36 ` [dts] [02/12] add test start time and exec cmd time for eal " xu,huilong
2015-10-27  8:31   ` Tu, LijuanX A
2015-10-27  7:36 ` [dts] [03/12] add test start time and exec cmd time for dump " xu,huilong
2015-10-27  8:33   ` Tu, LijuanX A
2015-10-27  7:36 ` [dts] [04/12] add test start time for ivshmem " xu,huilong
2015-10-27  8:34   ` Tu, LijuanX A
2015-10-27  7:36 ` [dts] [05/12] add test start time for kni " xu,huilong
2015-10-27  8:35   ` Tu, LijuanX A
2015-10-27  7:36 ` [dts] [06/12] add test start time for lpm " xu,huilong
2015-10-27  8:42   ` Tu, LijuanX A
2015-10-27  7:36 ` [dts] [07/12] add test start time for mbuf " xu,huilong
2015-10-27  8:43   ` Tu, LijuanX A
2015-10-27  7:36 ` [dts] [08/12] add test start time for mempool " xu,huilong
2015-10-27  8:42   ` Tu, LijuanX A
2015-10-27  7:36 ` [dts] [09/12] add test start time and exec cmd time for power " xu,huilong
2015-10-27  8:38   ` Tu, LijuanX A
2015-10-27  7:36 ` [dts] [10/12] add test start time and exec cmd time for pmd_perf " xu,huilong
2015-10-27  8:39   ` Tu, LijuanX A [this message]
2015-10-27  7:36 ` [dts] [11/12] add test start time for ring " xu,huilong
2015-10-27  8:40   ` Tu, LijuanX A
2015-10-27  7:36 ` [dts] [12/12] add test start time for timer " xu,huilong
2015-10-27  8:21 ` [dts] [00/12] add test start time Tu, LijuanX A
2015-10-27  8:43   ` Liu, Yong
2015-10-27  8:54 ` Liu, Yong

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=38D041F150D4184C8114E499040E62340723599A@shsmsx102.ccr.corp.intel.com \
    --to=lijuanx.a.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=huilongx.xu@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).