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 8E458A04C1; Wed, 20 Nov 2019 06:19:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2F09C2C36; Wed, 20 Nov 2019 06:19:46 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id C39A92C23 for ; Wed, 20 Nov 2019 06:19:44 +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; 19 Nov 2019 21:19:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,220,1571727600"; d="scan'208";a="381246247" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 19 Nov 2019 21:19:43 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 19 Nov 2019 21:19:42 -0800 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, 19 Nov 2019 21:19:42 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) 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, 19 Nov 2019 21:19:42 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.60]) with mapi id 14.03.0439.000; Wed, 20 Nov 2019 13:19:40 +0800 From: "Ma, LihongX" To: "Zeng, XiaoxiaoX" , "dts@dpdk.org" CC: "Zeng, XiaoxiaoX" Thread-Topic: [dts] [PATCH V1] tests/shutdown_api: add judgment range to suit CVL 100G Thread-Index: AQHVnn6fRyIjiVtLOka8e4+e3pmacqeThp3w Date: Wed, 20 Nov 2019 05:19:40 +0000 Message-ID: References: <20191119141023.7354-1-xiaoxiaox.zeng@intel.com> In-Reply-To: <20191119141023.7354-1-xiaoxiaox.zeng@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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/shutdown_api: add judgment range to suit CVL 100G 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" Hi, xiaoxiao If you change only for cvl_100 G, the condition about 'columbiaville' in se= lf.nic is not right. -----Original Message----- From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xiaoxiao Zeng Sent: Tuesday, November 19, 2019 10:10 PM To: dts@dpdk.org Cc: Zeng, XiaoxiaoX Subject: [dts] [PATCH V1] tests/shutdown_api: add judgment range to suit CV= L 100G Signed-off-by: Xiaoxiao Zeng --- tests/TestSuite_shutdown_api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api= .py index 63fff84..eb20583 100644 --- a/tests/TestSuite_shutdown_api.py +++ b/tests/TestSuite_shutdown_api.py @@ -314,10 +314,9 @@ class TestShutdownApi(TestCase): =20 self.pmdout.start_testpmd("Default", "--portmask=3D%s --port-topol= ogy=3Dloop" % utils.create_mask(self.ports), socket=3Dself.ports_socket) self.dut.send_expect("set promisc all off", "testpmd>") - out =3D self.tester.send_expect( "ethtool %s" % self.tester.get_interface(self.tester.get_local= _port(self.ports[0])), "# ") - if 'fortville_spirit' =3D=3D self.nic: + if 'fortville_spirit' =3D=3D self.nic or 'columbiaville' in self.n= ic : result_scanner =3D r"([0-9]+)baseSR4/([A-Za-z]+)" else: result_scanner =3D r"([0-9]+)baseT/([A-Za-z]+)" -- 2.17.0