From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 98B3F5320 for ; Wed, 21 Sep 2016 09:35:29 +0200 (CEST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP; 21 Sep 2016 00:35:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,372,1470726000"; d="scan'208";a="11700546" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by orsmga005.jf.intel.com with ESMTP; 21 Sep 2016 00:35:26 -0700 Message-ID: <57E238FF.3030106@intel.com> Date: Wed, 21 Sep 2016 15:38:39 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "xu,huilong" , dts@dpdk.org References: <1474423865-22963-1-git-send-email-huilongx.xu@intel.com> In-Reply-To: <1474423865-22963-1-git-send-email-huilongx.xu@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH V1] update ring pmd unit test case 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: Wed, 21 Sep 2016 07:35:30 -0000 Applied, please pay more attention to your comment. It contains of spell issue. On 09/21/2016 10:11 AM, xu,huilong wrote: > ring pmd unit test device name chaned by development > > Signed-off-by: xu,huilong > --- > test_plans/unit_tests_ringpmd_test_plan.rst | 4 ++-- > tests/TestSuite_unit_tests_ringpmd.py | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/test_plans/unit_tests_ringpmd_test_plan.rst b/test_plans/unit_tests_ringpmd_test_plan.rst > index 31f703b..7ffba8b 100644 > --- a/test_plans/unit_tests_ringpmd_test_plan.rst > +++ b/test_plans/unit_tests_ringpmd_test_plan.rst > @@ -52,8 +52,8 @@ virtual ethernet devices with full rx&tx functions. > The steps to run the unit test manually are as follow:: > > # make -C ./app/test/ > - # ./app/test/test -n 1 -c ffff --vdev='eth_ring0,nodeaction=:0:CREATE' > - --vdev='eth_ring1,nodeaction=:0:CREATE' --vdev='eth ring2,nodeaction=:0:CREATE' > + # ./app/test/test -n 1 -c ffff --vdev='net_ring0' > + --vdev='net_ring1' > RTE>> ring_pmd_autotest > > 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 2c83bcd..b6d21bb 100644 > --- a/tests/TestSuite_unit_tests_ringpmd.py > +++ b/tests/TestSuite_unit_tests_ringpmd.py > @@ -69,7 +69,7 @@ class TestUnitTestsRingPmd(TestCase): > """ > Run Inter-VM share memory test. > """ > - dev_str = "--vdev=eth_ring0 --vdev=eth_ring1" > + dev_str = "--vdev=net_ring0 --vdev=net_ring1" > > self.dut.send_expect("./%s/app/test -n 1 -c ffff" % self.target, "R.*T.*E.*>.*>", 10) > out = self.dut.send_expect("ring_pmd_autotest", "RTE>>", 120)