[dts] [PATCH V1] update memzone dump case
Liu, Yong
yong.liu at intel.com
Thu Sep 8 08:52:31 CEST 2016
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 <huilongx.xu at intel.com>
> ---
> 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']
More information about the dts
mailing list