test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH] add cmd time for memory and memcpy_perf
@ 2015-11-06  7:42 yongjie
  2015-11-09  2:44 ` Liu, Yong
  0 siblings, 1 reply; 2+ messages in thread
From: yongjie @ 2015-11-06  7:42 UTC (permalink / raw)
  To: dts; +Cc: GuYongjie

From: GuYongjie <yongjiex.gu@intel.com>

Delay memcpy_perf_autotest & memory_autotest time.

Signed-off-by: GuYongjie <yongjiex.gu@intel.com>
---
 tests/TestSuite_unit_tests_eal.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
index 0945cd6..b575c7b 100644
--- a/tests/TestSuite_unit_tests_eal.py
+++ b/tests/TestSuite_unit_tests_eal.py
@@ -103,7 +103,7 @@ class TestUnitTestsEal(TestCase):
         """
         self.dut.send_expect("%s ./app/test/test -n 1 -c ffff" % self.dut.taskset(1),
                              "R.*T.*E.*>.*>", self.start_test_time)
-        out = self.dut.send_expect("memcpy_perf_autotest", "RTE>>", self.run_cmd_time * 4)
+        out = self.dut.send_expect("memcpy_perf_autotest", "RTE>>", self.run_cmd_time * 15)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
 
@@ -179,7 +179,7 @@ class TestUnitTestsEal(TestCase):
         """
 
         self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>.*>", self.start_test_time)
-        out = self.dut.send_expect('memory_autotest', "RTE>>", self.run_cmd_time)
+        out = self.dut.send_expect('memory_autotest', "RTE>>", self.run_cmd_time * 5)
         regexp = "phys:0x[0-9a-f]*, len:([0-9a-f]*), virt:0x[0-9a-f]*, socket_id:[0-9]*"
         match = dts.regexp(out, regexp)
         size = int(match, 16)
-- 
1.7.7.6

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH] add cmd time for memory and memcpy_perf
  2015-11-06  7:42 [dts] [PATCH] add cmd time for memory and memcpy_perf yongjie
@ 2015-11-09  2:44 ` Liu, Yong
  0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2015-11-09  2:44 UTC (permalink / raw)
  To: yongjie, dts

Applied with few comments changed. Thanks.

On 11/06/2015 03:42 PM, yongjie wrote:
> From: GuYongjie <yongjiex.gu@intel.com>
>
> Delay memcpy_perf_autotest & memory_autotest time.
>
> Signed-off-by: GuYongjie <yongjiex.gu@intel.com>
> ---
>   tests/TestSuite_unit_tests_eal.py |    4 ++--
>   1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
> index 0945cd6..b575c7b 100644
> --- a/tests/TestSuite_unit_tests_eal.py
> +++ b/tests/TestSuite_unit_tests_eal.py
> @@ -103,7 +103,7 @@ class TestUnitTestsEal(TestCase):
>           """
>           self.dut.send_expect("%s ./app/test/test -n 1 -c ffff" % self.dut.taskset(1),
>                                "R.*T.*E.*>.*>", self.start_test_time)
> -        out = self.dut.send_expect("memcpy_perf_autotest", "RTE>>", self.run_cmd_time * 4)
> +        out = self.dut.send_expect("memcpy_perf_autotest", "RTE>>", self.run_cmd_time * 15)
>           self.dut.send_expect("quit", "# ")
>           self.verify("Test OK" in out, "Test failed")
>   
> @@ -179,7 +179,7 @@ class TestUnitTestsEal(TestCase):
>           """
>   
>           self.dut.send_expect("./app/test/test -n 1 -c ffff", "R.*T.*E.*>.*>", self.start_test_time)
> -        out = self.dut.send_expect('memory_autotest', "RTE>>", self.run_cmd_time)
> +        out = self.dut.send_expect('memory_autotest', "RTE>>", self.run_cmd_time * 5)
>           regexp = "phys:0x[0-9a-f]*, len:([0-9a-f]*), virt:0x[0-9a-f]*, socket_id:[0-9]*"
>           match = dts.regexp(out, regexp)
>           size = int(match, 16)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-09  2:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-06  7:42 [dts] [PATCH] add cmd time for memory and memcpy_perf yongjie
2015-11-09  2:44 ` Liu, Yong

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).