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 7F106A0531; Mon, 10 Feb 2020 09:54:33 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6E3951BF7A; Mon, 10 Feb 2020 09:54:33 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 627261BE90 for ; Mon, 10 Feb 2020 09:54:31 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Feb 2020 00:54:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,424,1574150400"; d="scan'208";a="251124070" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga002.jf.intel.com with ESMTP; 10 Feb 2020 00:54:29 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 10 Feb 2020 00:54:29 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 10 Feb 2020 00:54:29 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.222]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.5]) with mapi id 14.03.0439.000; Mon, 10 Feb 2020 16:54:27 +0800 From: "Tu, Lijuan" To: "Zhao, HaiyangX" , "dts@dpdk.org" CC: "Zhao, HaiyangX" Thread-Topic: [dts] [PATCH V1] framework/dut:optimize code Thread-Index: AQHV0NUT4s82XyZH5Um4MVWGP9mcaagUPbeQ Date: Mon, 10 Feb 2020 08:54:27 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBC575F@SHSMSX101.ccr.corp.intel.com> References: <1579664472-1673-1-git-send-email-haiyangx.zhao@intel.com> In-Reply-To: <1579664472-1673-1-git-send-email-haiyangx.zhao@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] framework/dut:optimize code 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 Haiyang Zhao > Sent: Wednesday, January 22, 2020 11:41 AM > To: dts@dpdk.org > Cc: Zhao, HaiyangX > Subject: [dts] [PATCH V1] framework/dut:optimize code >=20 > *.add a blank for eal_str if > need to add shared lib patch. >=20 > Signed-off-by: Haiyang Zhao > --- > framework/dut.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/framework/dut.py b/framework/dut.py index 8af5bed..4f376f5 > 100644 > --- a/framework/dut.py > +++ b/framework/dut.py > @@ -224,7 +224,7 @@ class Dut(Crb): > use_shared_lib =3D > settings.load_global_setting(settings.HOST_SHARED_LIB_SETTING) > shared_lib_path =3D > settings.load_global_setting(settings.HOST_SHARED_LIB_PATH) > if use_shared_lib =3D=3D 'true' and shared_lib_path and 'Virt' n= ot in str(self): > - eal_str =3D eal_str + ' -d {}'.format(shared_lib_path) > + eal_str =3D eal_str + ' -d {} '.format(shared_lib_path) >=20 > return eal_str >=20 > -- > 1.8.3.1