From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0C3E5A0A02; Thu, 25 Mar 2021 06:55:32 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DF1C9140E9A; Thu, 25 Mar 2021 06:55:32 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 4B835140E98 for ; Thu, 25 Mar 2021 06:55:31 +0100 (CET) IronPort-SDR: p9RKdjF8wxVzECMMInK0McOVZTazVqZcnPxiWgBXhC8VQBWuue3pb4t5s3B4NpnUYRLVKv+2PW Bhm11d2jsWgA== X-IronPort-AV: E=McAfee;i="6000,8403,9933"; a="210984897" X-IronPort-AV: E=Sophos;i="5.81,276,1610438400"; d="scan'208";a="210984897" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Mar 2021 22:55:30 -0700 IronPort-SDR: 42g8DCFrZ0+Hg3BZJdvisL2w9DULk9ukU+hb80/bHre88gWyG83ng3naPSGOriao/faS64m99v VEjlZVMD0EIA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,276,1610438400"; d="scan'208";a="415828385" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by orsmga008.jf.intel.com with ESMTP; 24 Mar 2021 22:55:30 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Wed, 24 Mar 2021 22:55:28 -0700 Received: from shsmsx601.ccr.corp.intel.com (10.109.6.141) by SHSMSX601.ccr.corp.intel.com (10.109.6.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 25 Mar 2021 13:55:26 +0800 Received: from shsmsx601.ccr.corp.intel.com ([10.109.6.141]) by SHSMSX601.ccr.corp.intel.com ([10.109.6.141]) with mapi id 15.01.2106.013; Thu, 25 Mar 2021 13:55:26 +0800 From: "Tu, Lijuan" To: "Zhou, JunX W" , "dts@dpdk.org" CC: "Zhou, JunX W" Thread-Topic: [dts] [PATCH V1] tests/telemetry: adapt meson build Thread-Index: AQHXH6rtly4yntGe3kWNeqacCmgayKqUN1dw Date: Thu, 25 Mar 2021 05:55:26 +0000 Message-ID: References: <1616479476-9464-1-git-send-email-junx.w.zhou@intel.com> In-Reply-To: <1616479476-9464-1-git-send-email-junx.w.zhou@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.5.1.3 dlp-product: dlpe-windows x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/telemetry: adapt meson build X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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" > -----Original Message----- > From: dts On Behalf Of Zhou Jun > Sent: 2021=1B$BG/=1B(B3=1B$B7n=1B(B23=1B$BF|=1B(B 14:05 > To: dts@dpdk.org > Cc: Zhou, JunX W > Subject: [dts] [PATCH V1] tests/telemetry: adapt meson build >=20 > adapt meson build, need modify compile parameter and recompile for test >=20 > Signed-off-by: Zhou Jun > --- > tests/TestSuite_telemetry.py | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_telemetry.py b/tests/TestSuite_telemetry.py = index > 7e474bc..8de8fb6 100644 > --- a/tests/TestSuite_telemetry.py > +++ b/tests/TestSuite_telemetry.py > @@ -49,6 +49,7 @@ class TestTelemetry(TestCase): >=20 > "'s/CONFIG_RTE_LIBRTE_TELEMETRY=3Dn/CONFIG_RTE_LIBRTE_TELEMETRY=3Dy/g > '" > " {}/config/common_base").format(self.target_dir) > self.d_a_console(cmd) > + self.dut.set_build_options({'RTE_LIBRTE_TELEMETRY': 'y'}) Duplicated with your old method, please remove it, thanks >=20 > def create_query_script(self): > ''' > @@ -588,7 +589,8 @@ class TestTelemetry(TestCase): > """ > Run after each test suite. > """ > - pass > + self.dut.set_build_options({'RTE_LIBRTE_TELEMETRY': 'n'}) > + self.dut.build_install_dpdk(self.target) >=20 > def test_basic_connection(self): > ''' > -- > 1.8.3.1