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 2180EA0542; Thu, 13 Feb 2020 02:19:24 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CEBA82BF4; Thu, 13 Feb 2020 02:19:23 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id CB28F2B86 for ; Thu, 13 Feb 2020 02:19:21 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Feb 2020 17:19:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,434,1574150400"; d="scan'208";a="222480981" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga007.jf.intel.com with ESMTP; 12 Feb 2020 17:19:20 -0800 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 12 Feb 2020 17:19:19 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 12 Feb 2020 17:19:19 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.222]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.158]) with mapi id 14.03.0439.000; Thu, 13 Feb 2020 09:19:17 +0800 From: "Tu, Lijuan" To: "Ma, LihongX" , "dts@dpdk.org" CC: "Ma, LihongX" Thread-Topic: [dts] [PATCH V1] tests/unit_tests_eal: modify suite according to dpdk change Thread-Index: AQHV4UNE6ttDKNoYzk+MshJkzFTPkqgYVKag Date: Thu, 13 Feb 2020 01:19:17 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBC66D4@SHSMSX101.ccr.corp.intel.com> References: <1581471008-82435-1-git-send-email-lihongx.ma@intel.com> In-Reply-To: <1581471008-82435-1-git-send-email-lihongx.ma@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [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" Applied, thanks > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of malihong > Sent: Wednesday, February 12, 2020 9:30 AM > To: dts@dpdk.org > Cc: Ma, LihongX > Subject: [dts] [PATCH V1] tests/unit_tests_eal: modify suite according to= dpdk > change >=20 > From: lihong >=20 > As the dpdk f6208425eb7860372cee, modify the command about > hash_readwrite >=20 > Signed-off-by: lihong > --- > tests/TestSuite_unit_tests_eal.py | 16 ++++++++++++++-- > 1 file changed, 14 insertions(+), 2 deletions(-) >=20 > 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): >=20 > self.dut.send_expect(self.test_app_cmdline, > "R.*T.*E.*>.*>", self.start_test_time) > - out =3D self.dut.send_expect("hash_readwrite_autotest", > + out =3D 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): >=20 > self.dut.send_expect("./%s/app/test" % self.target, > "R.*T.*E.*>.*>", self.start_test_time) > - out =3D self.dut.send_expect("hash_readwrite_lf_autotest", > + out =3D 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 =3D 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