test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] fix unit_tests_dump key word error
@ 2017-11-10  2:11 xu,gang
  2017-11-10  6:22 ` Liu, Yong
  0 siblings, 1 reply; 3+ messages in thread
From: xu,gang @ 2017-11-10  2:11 UTC (permalink / raw)
  To: dts; +Cc: xu,gang

the log for dpdk change, so the key word for dts match need change

Signed-off-by: xu,gang <gangx.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 90588cb..e36fa64 100644
--- a/tests/TestSuite_unit_tests_dump.py
+++ b/tests/TestSuite_unit_tests_dump.py
@@ -116,7 +116,7 @@ class TestUnitTestsDump(TestCase):
         self.dut.send_expect("./%s/app/test -n 1 -c f" % (self.target), "R.*T.*E.*>.*>", self.start_test_time)
         out = self.dut.send_expect("dump_physmem", "RTE>>", self.run_cmd_time * 2)
         self.dut.send_expect("quit", "# ")
-        elements = ['Segment', 'phys', 'len', 'virt', 'socket_id', 'hugepage_sz', 'nchannel', 'nrank']
+        elements = ['Segment', 'IOVA', 'len', 'virt', 'socket_id', 'hugepage_sz', 'nchannel', 'nrank']
         match_regex = "Segment (\d)+:"
         for element in elements[1:-1]:
             match_regex += " %s:(.*?)," % element
@@ -137,7 +137,7 @@ class TestUnitTestsDump(TestCase):
         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']
+        elements = ['Zone', 'name', 'IO', 'len', 'virt', 'socket_id', 'flags']
         match_regex = "Zone (\d):"
         for element in elements[1:-1]:
             match_regex += " %s:(.*?)," % element
-- 
1.9.3

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-20  5:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-10  2:11 [dts] [PATCH V1] fix unit_tests_dump key word error xu,gang
2017-11-10  6:22 ` Liu, Yong
2017-11-20 13:13   ` 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).