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 1B5A2A04C1; Fri, 22 Nov 2019 04:09:52 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B7F452E8F; Fri, 22 Nov 2019 04:09:51 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 947C72C36 for ; Fri, 22 Nov 2019 04:09:49 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Nov 2019 19:09:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,228,1571727600"; d="scan'208";a="381952017" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga005.jf.intel.com with ESMTP; 21 Nov 2019 19:09:48 -0800 Received: from fmsmsx162.amr.corp.intel.com (10.18.125.71) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 21 Nov 2019 19:09:47 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx162.amr.corp.intel.com (10.18.125.71) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 21 Nov 2019 19:09:47 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.149]) with mapi id 14.03.0439.000; Fri, 22 Nov 2019 11:09:44 +0800 From: "Tu, Lijuan" To: "Li, WenjieX A" , "dts@dpdk.org" CC: "Li, WenjieX A" Thread-Topic: [dts] [PATCH V1] tests/distributor: align change with DPDK Thread-Index: AQHVjhZgfDwfs1UxTkadKR3Fr22bfaeWqFig Date: Fri, 22 Nov 2019 03:09:43 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB6747E@SHSMSX101.ccr.corp.intel.com> References: <1572357222-12599-1-git-send-email-wenjiex.a.li@intel.com> In-Reply-To: <1572357222-12599-1-git-send-email-wenjiex.a.li@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNDAxYzBmYmItZWNiZS00N2E2LTk1NjctMjg1Yjg4MTUxOGM3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNVlHSyttRVplbjBscXpmTEdkTFBiU051dE9ncGVtXC9wZXpHbGNJTG9cL1wvTkJMeGJkSnMyTTRnM3lSSENFbFhXOCJ9 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/distributor: align change with 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 Wenjie Li > Sent: Tuesday, October 29, 2019 9:54 PM > To: dts@dpdk.org > Cc: Li, WenjieX A > Subject: [dts] [PATCH V1] tests/distributor: align change with DPDK >=20 > In DPDK commit b28f28ae80e5c9aa, renamed from > lib/librte_distributor/rte_distributor_private.h to > lib/librte_distributor/distributor_private.h, update dts to align this ch= ange. >=20 > Signed-off-by: Wenjie Li > --- > tests/TestSuite_distributor.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_distributor.py b/tests/TestSuite_distributor= .py > index 1128899..3494254 100644 > --- a/tests/TestSuite_distributor.py > +++ b/tests/TestSuite_distributor.py > @@ -163,7 +163,7 @@ class TestDistributor(TestCase): > self.verify(len(self.dut_ports) >=3D 1, "Not enough ports") > cmd_fmt =3D "%s -c %s -n %d -w %s -- -p 0x1" >=20 > - out =3D self.dut.send_expect("sed -n '/#define > RTE_DISTRIB_MAX_WORKERS/p' > lib/librte_distributor/rte_distributor_private.h", "# ") > + out =3D self.dut.send_expect("sed -n '/#define > + RTE_DISTRIB_MAX_WORKERS/p' > + lib/librte_distributor/distributor_private.h", "# ") > reg_match =3D r"#define RTE_DISTRIB_MAX_WORKERS (.*)" > m =3D re.match(reg_match, out) > self.verify(m, "Can't find maximum worker number") > -- > 2.17.1