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 A4CEFA054F; Tue, 18 Feb 2020 08:55:37 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 76D111D66D; Tue, 18 Feb 2020 08:55:37 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 7E1211D66C for ; Tue, 18 Feb 2020 08:55:36 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Feb 2020 23:55:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,455,1574150400"; d="scan'208";a="348650719" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga001.fm.intel.com with ESMTP; 17 Feb 2020 23:55:29 -0800 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 17 Feb 2020 23:55:29 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 17 Feb 2020 23:55:29 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.222]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.201]) with mapi id 14.03.0439.000; Tue, 18 Feb 2020 15:55:26 +0800 From: "Tu, Lijuan" To: "Ma, LihongX" , "dts@dpdk.org" CC: "Ma, LihongX" Thread-Topic: [dts] [PATCH V1] tests/unit_tests_eal: modify cmd according to dpdk Thread-Index: AQHV5i2OY6KBxaNFIEGw6hJP3LCvxKgglSrw Date: Tue, 18 Feb 2020 07:55:26 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBCB637@SHSMSX101.ccr.corp.intel.com> References: <20200218001826.47347-1-lihongx.ma@intel.com> In-Reply-To: <20200218001826.47347-1-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 cmd according to dpdk 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 lihong > Sent: Tuesday, February 18, 2020 8:18 AM > To: dts@dpdk.org > Cc: Ma, LihongX > Subject: [dts] [PATCH V1] tests/unit_tests_eal: modify cmd according to d= pdk >=20 > Signed-off-by: lihong > --- > tests/TestSuite_unit_tests_eal.py | 17 +++++++++++++++-- > 1 file changed, 15 insertions(+), 2 deletions(-) >=20 > 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): >=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") @@ -181,7 +181,20 @= @ class > TestUnitTestsEal(TestCase): > eal_params =3D self.dut.create_eal_parameters() > self.dut.send_expect("./%s/app/test %s" % (self.target,eal_param= s), > "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*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 =3D self.dut.create_eal_parameters() > + self.dut.send_expect("./%s/app/test %s" % (self.target,eal_param= s), > + "R.*T.*E.*>.*>", self.start_test_time) > + out =3D 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