* [dts] [PATCH V1] update memzone dump case
@ 2016-09-08 2:19 xu,huilong
2016-09-08 6:52 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: xu,huilong @ 2016-09-08 2:19 UTC (permalink / raw)
To: dts; +Cc: xu,huilong
test app default not init memzone when test app setup, so use testpmd app
for test
Signed-off-by: xu,huilong <huilongx.xu@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']
--
1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1] update memzone dump case
2016-09-08 2:19 [dts] [PATCH V1] update memzone dump case xu,huilong
@ 2016-09-08 6:52 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2016-09-08 6:52 UTC (permalink / raw)
To: xu,huilong, dts
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@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']
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-09-08 6:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-08 2:19 [dts] [PATCH V1] update memzone dump case xu,huilong
2016-09-08 6:52 ` Liu, Yong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).