From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7F9F6A0530; Wed, 12 Feb 2020 02:24:42 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 414FA29CB; Wed, 12 Feb 2020 02:24:42 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 952EB2952 for ; Wed, 12 Feb 2020 02:24:40 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Feb 2020 17:24:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,428,1574150400"; d="scan'208";a="313248437" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by orsmga001.jf.intel.com with ESMTP; 11 Feb 2020 17:24:38 -0800 From: malihong To: dts@dpdk.org Cc: lihong Date: Wed, 12 Feb 2020 09:30:08 +0800 Message-Id: <1581471008-82435-1-git-send-email-lihongx.ma@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/unit_tests_eal: modify suite according to dpdk change X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" From: lihong As the dpdk f6208425eb7860372cee, modify the command about hash_readwrite Signed-off-by: lihong --- 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