From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id C38F791BF for ; Thu, 8 Sep 2016 08:49:53 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP; 07 Sep 2016 23:49:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,298,1470726000"; d="scan'208";a="6289049" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by orsmga004.jf.intel.com with ESMTP; 07 Sep 2016 23:49:52 -0700 Message-ID: <57D10AAF.30803@intel.com> Date: Thu, 08 Sep 2016 14:52:31 +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: <1473301176-7419-1-git-send-email-huilongx.xu@intel.com> In-Reply-To: <1473301176-7419-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 memzone dump 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: Thu, 08 Sep 2016 06:49:54 -0000 Thanks, applied with commit optimized. On 09/08/2016 10:19 AM, xu,huilong wrote: > test app default not init memzone when test app setup, so use testpmd app > for test > > Signed-off-by: xu,huilong > --- > tests/TestSuite_unit_tests_dump.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/TestSuite_unit_tests_dump.py b/tests/TestSuite_unit_tests_dump.py > index 730c4c1..65852dd 100644 > --- a/tests/TestSuite_unit_tests_dump.py > +++ b/tests/TestSuite_unit_tests_dump.py > @@ -132,8 +132,8 @@ class TestUnitTestsDump(TestCase): > """ > Run memzone dump test case. > """ > - self.dut.send_expect("./%s/app/test -n 1 -c ffff" % (self.target), "R.*T.*E.*>.*>", self.start_test_time) > - out = self.dut.send_expect("dump_memzone", "RTE>>", self.run_cmd_time * 2) > + self.dut.send_expect("./%s/app/testpmd -n 1 -c ffffi -- -i" % (self.target), "testpmd>", self.start_test_time) > + out = self.dut.send_expect("dump_memzone", "testpmd>", self.run_cmd_time * 2) > self.dut.send_expect("quit", "# ") > > elements = ['Zone', 'name', 'phys', 'len', 'virt', 'socket_id', 'flags']