From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Ma, LihongX" <lihongx.ma@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Ma, LihongX" <lihongx.ma@intel.com>
Subject: Re: [dts] [PATCH V1] tests/unit_tests_eal: modify cmd according to dpdk
Date: Tue, 18 Feb 2020 07:55:26 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBCB637@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <20200218001826.47347-1-lihongx.ma@intel.com>
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lihong
> Sent: Tuesday, February 18, 2020 8:18 AM
> To: dts@dpdk.org
> Cc: Ma, LihongX <lihongx.ma@intel.com>
> Subject: [dts] [PATCH V1] tests/unit_tests_eal: modify cmd according to dpdk
>
> Signed-off-by: lihong <lihongx.ma@intel.com>
> ---
> tests/TestSuite_unit_tests_eal.py | 17 +++++++++++++++--
> 1 file changed, 15 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_unit_tests_eal.py
> b/tests/TestSuite_unit_tests_eal.py
> index 84520a3..bd1696b 100644
> --- a/tests/TestSuite_unit_tests_eal.py
> +++ b/tests/TestSuite_unit_tests_eal.py
> @@ -168,7 +168,7 @@ class TestUnitTestsEal(TestCase):
>
> self.dut.send_expect(self.test_app_cmdline,
> "R.*T.*E.*>.*>", self.start_test_time)
> - out = self.dut.send_expect("hash_readwrite_autotest",
> + out = self.dut.send_expect("hash_readwrite_func_autotest",
> "RTE>>", self.run_cmd_time)
> self.dut.send_expect("quit", "# ")
> self.verify("Test OK" in out, "Test failed") @@ -181,7 +181,20 @@ class
> TestUnitTestsEal(TestCase):
> eal_params = self.dut.create_eal_parameters()
> 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_lf_autotest",
> + out = self.dut.send_expect("hash_readwrite_lf_perf_autotest",
> + "RTE>>", self.run_cmd_time*3)
> + self.dut.send_expect("quit", "# ")
> + self.verify("Test OK" in out, "Test failed")
> +
> + def test_hash_readwrite_perf(self):
> + """
> + Run hash readwrite perf autotest.
> + """
> +
> + eal_params = self.dut.create_eal_parameters()
> + 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",
> "RTE>>", self.run_cmd_time*3)
> self.dut.send_expect("quit", "# ")
> self.verify("Test OK" in out, "Test failed")
> --
> 2.17.1
prev parent reply other threads:[~2020-02-18 7:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-18 0:18 lihong
2020-02-18 7:55 ` Tu, Lijuan [this message]
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=8CE3E05A3F976642AAB0F4675D0AD20E0BBCB637@SHSMSX101.ccr.corp.intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=lihongx.ma@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).