From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 99D999192 for ; Fri, 22 Jan 2016 09:25:18 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP; 22 Jan 2016 00:25:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,329,1449561600"; d="scan'208";a="895940802" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga002.jf.intel.com with ESMTP; 22 Jan 2016 00:25:18 -0800 Received: from fmsmsx120.amr.corp.intel.com (10.18.124.208) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 22 Jan 2016 00:25:16 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx120.amr.corp.intel.com (10.18.124.208) with Microsoft SMTP Server (TLS) id 14.3.248.2; Fri, 22 Jan 2016 00:25:16 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.218]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.209]) with mapi id 14.03.0248.002; Fri, 22 Jan 2016 16:25:14 +0800 From: "Liu, Yong" To: "Tang, HaifengX" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH][DTS 2/2] change ringpmd test method , remove attach option Thread-Index: AQHRVO1ayR45UHEp20OAII5qbxvbKJ8HMmbw Date: Fri, 22 Jan 2016 08:25:13 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E13B12EA9@SHSMSX103.ccr.corp.intel.com> References: <1453450345-4176-1-git-send-email-haifengx.tang@intel.com> In-Reply-To: <1453450345-4176-1-git-send-email-haifengx.tang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzNiNjliNjMtOGRkNy00Yjk1LWI0MzMtNWM5ZmMwNTM0YzcwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjQuMTAuMTkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiVko2T1ZmR0ZvS3VPQlpEMVE2OVlVNjhSZjNGdnpCZU8rU1dKZ2x4R1FuUT0ifQ== x-ctpclassification: CTP_IC 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][DTS 2/2] change ringpmd test method , remove attach option 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: , X-List-Received-Date: Fri, 22 Jan 2016 08:25:19 -0000 Haifeng, >>From email subject, should be another mail contain the first patch. But I c= an't see it, what's the matter? > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of haifeng > Sent: Friday, January 22, 2016 4:12 PM > To: dts@dpdk.org > Subject: [dts] [PATCH][DTS 2/2] change ringpmd test method , remove attac= h > option >=20 > Signed-off-by: haifeng > --- > test_plans/unit_tests_ringpmd_test_plan.rst | 3 +-- > tests/TestSuite_unit_tests_ringpmd.py | 6 +----- > 2 files changed, 2 insertions(+), 7 deletions(-) >=20 > diff --git a/test_plans/unit_tests_ringpmd_test_plan.rst > b/test_plans/unit_tests_ringpmd_test_plan.rst > index 18f780c..31f703b 100644 > --- a/test_plans/unit_tests_ringpmd_test_plan.rst > +++ b/test_plans/unit_tests_ringpmd_test_plan.rst > @@ -53,8 +53,7 @@ The steps to run the unit test manually are as follow:: >=20 > # make -C ./app/test/ > # ./app/test/test -n 1 -c ffff --vdev=3D'eth_ring0,nodeaction=3D:0:CRE= ATE' > - --vdev=3D'eth_ring0,nodeaction=3D:0:ATTACH' -- > vdev=3D'eth_ring1,nodeaction=3D:0:CREATE' > - --vdev=3D'eth ring2,nodeaction=3D:0:CREATE' -- > vdev=3D'eth_ring2,nodeaction=3D:0:ATTACH' > + --vdev=3D'eth_ring1,nodeaction=3D:0:CREATE' --vdev=3D'eth > ring2,nodeaction=3D:0:CREATE' > RTE>> ring_pmd_autotest >=20 > The final output of the test has to be "Test OK" > diff --git a/tests/TestSuite_unit_tests_ringpmd.py > b/tests/TestSuite_unit_tests_ringpmd.py > index 7f88482..39d85b0 100644 > --- a/tests/TestSuite_unit_tests_ringpmd.py > +++ b/tests/TestSuite_unit_tests_ringpmd.py > @@ -58,10 +58,8 @@ class TestUnitTestsRingPmd(TestCase): > Nothing to do here. > """ > self.ring_ports =3D [{'mode': 'tx', 'index': '0'}, > - {'mode': 'rx', 'index': '0'}, > {'mode': 'rxtx', 'index': '1'}, > - {'mode': 'tx', 'index': '2'}, > - {'mode': 'rx', 'index': '2'}] > + {'mode': 'tx', 'index': '2'}] >=20 > def set_up(self): > """ > @@ -78,8 +76,6 @@ class TestUnitTestsRingPmd(TestCase): > for port in self.ring_ports: > if port['mode'] =3D=3D 'tx': > dev_str +=3D "--vdev=3D'eth_ring%s,nodeaction=3D:0:CREAT= E' " % > port['index'] > - elif port['mode'] =3D=3D 'rx': > - dev_str +=3D "--vdev=3D'eth_ring%s,nodeaction=3D:0:ATTAC= H' " % > port['index'] > else: > dev_str +=3D "--vdev=3D'eth_ring%s,nodeaction=3D:0:CREAT= E' " % > port['index'] >=20 > -- > 1.9.3