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 9212AA00E6 for ; Wed, 7 Aug 2019 09:27:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 83D212C6A; Wed, 7 Aug 2019 09:27:34 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 08AF32C58 for ; Wed, 7 Aug 2019 09:27:32 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Aug 2019 00:27:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,356,1559545200"; d="scan'208";a="165231916" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga007.jf.intel.com with ESMTP; 07 Aug 2019 00:27:31 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 7 Aug 2019 00:27:31 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 7 Aug 2019 00:27:31 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.112]) with mapi id 14.03.0439.000; Wed, 7 Aug 2019 15:27:29 +0800 From: "Tu, Lijuan" To: "Wu, ChangqingX" , "dts@dpdk.org" CC: "Wu, ChangqingX" Thread-Topic: [dts] [PATCH V1] tests/eal:add base virtaddr for freebsd Thread-Index: AQHVQqwOQsit7t1ewEmVXfqqgIhy1qbvXb6w Date: Wed, 7 Aug 2019 07:27:28 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFF015@SHSMSX101.ccr.corp.intel.com> References: <1564033734-56482-1-git-send-email-changqingx.wu@intel.com> In-Reply-To: <1564033734-56482-1-git-send-email-changqingx.wu@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-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2I0ZWIxZjQtOGEwNy00ZDFkLTg5YjQtYjhmMDdhZTcwZjU0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiY1ZcL2hDQVwvZ0ZLTVwvYndPR1NBSXNaeUMwT3ZGMUtnYmZzUFFnK3hQMTZsTW9vZklwcXJhQVwvMjdac3Rmck45dzQifQ== 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/eal:add base virtaddr for freebsd 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 changqingxwu > Sent: Thursday, July 25, 2019 1:49 PM > To: dts@dpdk.org > Cc: Wu, ChangqingX > Subject: [dts] [PATCH V1] tests/eal:add base virtaddr for freebsd >=20 > Add "base virtaddr" params for freebsd, > and clearing after each case run end, in case affect other cases. >=20 > Signed-off-by: changqingxwu > --- > tests/TestSuite_unit_tests_eal.py | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_unit_tests_eal.py > b/tests/TestSuite_unit_tests_eal.py > index 07d788f..d3475a4 100644 > --- a/tests/TestSuite_unit_tests_eal.py > +++ b/tests/TestSuite_unit_tests_eal.py > @@ -370,8 +370,10 @@ class TestUnitTestsEal(TestCase): > """ > Run multiprocess autotest. > """ > - > - self.dut.send_expect(self.test_app_cmdline + ' -m 64', "R.*T.*E.= *>.*>", > self.start_test_time) > + if self.dut.get_os_type() =3D=3D "freebsd": > + self.dut.send_expect(self.test_app_cmdline + ' -m 64 --base- > virtaddr=3D0x1000000000', "R.*T.*E.*>.*>", self.start_test_time) > + else: > + self.dut.send_expect(self.test_app_cmdline + ' -m 64', > + "R.*T.*E.*>.*>", self.start_test_time) > out =3D self.dut.send_expect("multiprocess_autotest", "RTE>>", > self.run_cmd_time) > self.dut.send_expect("quit", "# ") > self.verify("Test OK" in out, "Test failed") @@ -438,7 +440,7 @@= class > TestUnitTestsEal(TestCase): > """ > Run after each test case. > """ > - pass > + self.dut.kill_all() >=20 > def tear_down_all(self): > """ > -- > 2.17.2