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 26297A051A; Fri, 17 Jan 2020 06:34:37 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 19D3C1D17F; Fri, 17 Jan 2020 06:34:37 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 4EFE61D17C for ; Fri, 17 Jan 2020 06:34:35 +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; 16 Jan 2020 21:34:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,328,1574150400"; d="scan'208";a="243548884" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga002.jf.intel.com with ESMTP; 16 Jan 2020 21:34:33 -0800 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 16 Jan 2020 21:34:33 -0800 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 16 Jan 2020 21:34:33 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.30]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.132]) with mapi id 14.03.0439.000; Fri, 17 Jan 2020 13:34:31 +0800 From: "Tu, Lijuan" To: "Xiao, QimaiX" , "dts@dpdk.org" CC: "Xiao, QimaiX" Thread-Topic: [dts] [PATCH V2]tests/ethtool_stats: add file-prefx to launch procinfo Thread-Index: AQHVzF1SzzqEXWOpDkiqUe77cRYNGafuVtWQ Date: Fri, 17 Jan 2020 05:34:31 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBAC7FA@SHSMSX101.ccr.corp.intel.com> References: <1579172705-58186-1-git-send-email-qimaix.xiao@intel.com> In-Reply-To: <1579172705-58186-1-git-send-email-qimaix.xiao@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 V2]tests/ethtool_stats: add file-prefx to launch procinfo 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 > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiao Qimai > Sent: Thursday, January 16, 2020 7:05 PM > To: dts@dpdk.org > Cc: Xiao, QimaiX > Subject: [dts] [PATCH V2]tests/ethtool_stats: add file-prefx to launch > procinfo >=20 > add file-prefix to launch dpdk-procinfo >=20 > Signed-off-by: Xiao Qimai > --- > tests/TestSuite_ethtool_stats.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_ethtool_stats.py > b/tests/TestSuite_ethtool_stats.py > index 4f56885..f3152d9 100644 > --- a/tests/TestSuite_ethtool_stats.py > +++ b/tests/TestSuite_ethtool_stats.py > @@ -159,7 +159,7 @@ class TestEthtoolStats(TestCase): > ports_mask =3D reduce(lambda x, y: x | y, > [0x1 << x for x in range(ports_count)]) > self.query_tool =3D os.path.join( > - self.target_dir, self.target, 'app', 'dpdk-procinfo') > + self.target_dir, self.target, 'app', 'dpdk-procinfo --file-p= refix=3D%s' % > self.prefix) > self.dpdk_proc_info =3D "%s -v -- -p %s" % (self.query_tool, por= ts_mask) >=20 > def parse_proc_info_xstat_output(self, msg): > @@ -471,6 +471,7 @@ class TestEthtoolStats(TestCase): > def set_up_all(self): > self.dut_ports =3D self.dut.get_ports(self.nic) > self.verify(len(self.dut_ports) >=3D 1, 'Insufficient ports') > + self.prefix =3D "dpdk_" + self.dut.prefix_subfix > self.preset_test_environment() >=20 > def set_up(self): > -- > 2.17.1