[dts] [PATCH V1] tests/unit_tests_eal: modify cores for hash_readwrite_perf_autotest

Tu, Lijuan lijuan.tu at intel.com
Fri Feb 21 02:56:55 CET 2020


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Jiang,yu
> Sent: Wednesday, February 19, 2020 4:08 PM
> To: dts at dpdk.org
> Cc: Jiang, YuX <yux.jiang at intel.com>
> Subject: [dts] [PATCH V1] tests/unit_tests_eal: modify cores for
> hash_readwrite_perf_autotest
> 
> 
> hash_readwrite_perf_autotest need at least 3 cores to test
> 
> Signed-off-by: Jiang,yu <yux.jiang at intel.com>
> ---
>  tests/TestSuite_unit_tests_eal.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/TestSuite_unit_tests_eal.py
> b/tests/TestSuite_unit_tests_eal.py
> index bd1696b..9c80663 100644
> --- a/tests/TestSuite_unit_tests_eal.py
> +++ b/tests/TestSuite_unit_tests_eal.py
> @@ -191,7 +191,7 @@ class TestUnitTestsEal(TestCase):
>          Run hash readwrite perf autotest.
>          """
> 
> -        eal_params = self.dut.create_eal_parameters()
> +        eal_params = self.dut.create_eal_parameters(cores='1S/4C/1T')
>          self.dut.send_expect("./%s/app/test %s" % (self.target,eal_params),
>                               "R.*T.*E.*>.*>", self.start_test_time)
>          out = self.dut.send_expect("hash_readwrite_perf_autotest",
> --
> 1.9.3



More information about the dts mailing list