[dts] [PATCH] add cmd time for memory and memcpy_perf

Liu, Yong yong.liu at intel.com
Mon Nov 9 03:44:56 CET 2015


Applied with few comments changed. Thanks.

On 11/06/2015 03:42 PM, yongjie wrote:
> From: GuYongjie <yongjiex.gu at intel.com>
>
> Delay memcpy_perf_autotest & memory_autotest time.
>
> Signed-off-by: GuYongjie <yongjiex.gu at 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)



More information about the dts mailing list