test suite reviews and discussions
 help / color / mirror / Atom feed
From: malihong <lihongx.ma@intel.com>
To: dts@dpdk.org
Cc: lihong <lihongx.ma@intel.com>
Subject: [dts] [PATCH V1] tests/unit_tests_eal: modify suite according to dpdk change
Date: Wed, 12 Feb 2020 09:30:08 +0800	[thread overview]
Message-ID: <1581471008-82435-1-git-send-email-lihongx.ma@intel.com> (raw)

From: lihong <lihongx.ma@intel.com>

As the dpdk f6208425eb7860372cee, modify the command about hash_readwrite

Signed-off-by: lihong <lihongx.ma@intel.com>
---
 tests/TestSuite_unit_tests_eal.py | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_unit_tests_eal.py b/tests/TestSuite_unit_tests_eal.py
index 07d788f..6581567 100644
--- a/tests/TestSuite_unit_tests_eal.py
+++ b/tests/TestSuite_unit_tests_eal.py
@@ -166,7 +166,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")
@@ -178,7 +178,19 @@ class TestUnitTestsEal(TestCase):
 
         self.dut.send_expect("./%s/app/test" % self.target,
                              "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)
+        self.dut.send_expect("quit", "# ")
+        self.verify("Test OK" in out, "Test failed")
+
+    def test_hash_readwrite_perf(self):
+        """
+        Run hash readwrite perf autotest.
+        """
+
+        self.dut.send_expect(self.test_app_cmdline,
+                             "R.*T.*E.*>.*>", self.start_test_time)
+        out = self.dut.send_expect("hash_readwrite_perf_autotest",
                                    "RTE>>", self.run_cmd_time)
         self.dut.send_expect("quit", "# ")
         self.verify("Test OK" in out, "Test failed")
-- 
1.9.3


             reply	other threads:[~2020-02-12  1:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-12  1:30 malihong [this message]
2020-02-13  1:19 ` Tu, Lijuan

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=1581471008-82435-1-git-send-email-lihongx.ma@intel.com \
    --to=lihongx.ma@intel.com \
    --cc=dts@dpdk.org \
    /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).