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 005A3A0566; Wed, 11 Mar 2020 05:51:37 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E40622BE6; Wed, 11 Mar 2020 05:51:37 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 97C232BAA for ; Wed, 11 Mar 2020 05:51:36 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Mar 2020 21:51:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,539,1574150400"; d="scan'208";a="443430812" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 10 Mar 2020 21:51:35 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 10 Mar 2020 21:51:35 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 10 Mar 2020 21:51:34 -0700 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Tue, 10 Mar 2020 21:51:34 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.43]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.144]) with mapi id 14.03.0439.000; Wed, 11 Mar 2020 12:39:35 +0800 From: "Tu, Lijuan" To: "Mo, YufengX" , "dts@dpdk.org" , "Wang, Yinan" , "Xie, WeiX" CC: "Mo, YufengX" Thread-Topic: [dts] [PATCH V3 1/1] metrics: add prefix for new frame work. Thread-Index: AQHV8f33qdTV/umOzkaOwbL4xqGwjahC2h6A Date: Wed, 11 Mar 2020 04:39:34 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BBEBA32@SHSMSX101.ccr.corp.intel.com> References: <20200304082537.6134-1-yufengx.mo@intel.com> <20200304082537.6134-2-yufengx.mo@intel.com> In-Reply-To: <20200304082537.6134-2-yufengx.mo@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 V3 1/1] metrics: add prefix for new frame work. 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 yufengmx > Sent: Wednesday, March 4, 2020 4:26 PM > To: dts@dpdk.org; Wang, Yinan ; Xie, WeiX > > Cc: Mo, YufengX > Subject: [dts] [PATCH V3 1/1] metrics: add prefix for new frame work. >=20 >=20 > add prefix for new frame work. >=20 > Signed-off-by: yufengmx > --- > tests/TestSuite_metrics.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_metrics.py b/tests/TestSuite_metrics.py inde= x > 148365c..7fef17d 100644 > --- a/tests/TestSuite_metrics.py > +++ b/tests/TestSuite_metrics.py > @@ -187,7 +187,7 @@ class TestMetrics(TestCase): > self.is_pmd_on =3D False >=20 > def init_proc_info_tool(self): > - option =3D ' -v -- --metrics' > + option =3D f' -v --file-prefix=3D{self.prefix} -- --metrics' > self.dpdk_proc =3D os.path.join( > self.target_dir, self.target, "app", "dpdk-procinfo" + optio= n) > self.metrics_stat =3D [] > @@ -785,6 +785,7 @@ class TestMetrics(TestCase): > def set_up_all(self): > self.dut_ports =3D self.dut.get_ports(self.nic) > self.verify(len(self.dut_ports) >=3D 2, "Not enough ports") > + self.prefix =3D "dpdk_" + self.dut.prefix_subfix > # prepare testing environment > self.preset_test_environment() >=20 > -- > 2.21.0