* [dts] [PATCH V1] add a new check ponit for ptype mapping test
@ 2017-09-11 7:43 xu,huilong
2017-09-18 10:57 ` Liu, Yong
0 siblings, 1 reply; 2+ messages in thread
From: xu,huilong @ 2017-09-11 7:43 UTC (permalink / raw)
To: dts; +Cc: xu,huilong
check linux commend exec succeful, if update dpdk code failed by sed commend. This test will failed,
and not have any log.
Signed-off-by: xu,huilong <huilongx.xu@intel.com>
---
tests/TestSuite_ptype_mapping.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_ptype_mapping.py b/tests/TestSuite_ptype_mapping.py
index 517aac4..8f310e8 100644
--- a/tests/TestSuite_ptype_mapping.py
+++ b/tests/TestSuite_ptype_mapping.py
@@ -55,7 +55,7 @@ class TestPtype_Mapping(TestCase):
self.tester_iface = self.tester.get_interface(tester_port)
self.dut.send_expect("sed -i -e '/mb->vlan_tci, mb->vlan_tci_outer);" +\
"/a\printf(\" - pktype: 0x%x\", mb->packet_type);'" +\
- " app/test-pmd/rxonly.c", "# ", 30)
+ " app/test-pmd/rxonly.c", "# ", 30, verify = True)
self.dut.build_install_dpdk(self.dut.target)
@@ -230,7 +230,7 @@ class TestPtype_Mapping(TestCase):
Run after each test suite.
"""
self.dut.send_expect("sed -i '/printf(\" - pktype: 0x%x\", " +\
- "mb->packet_type);/d' app/test-pmd/rxonly.c", "# ", 30)
+ "mb->packet_type);/d' app/test-pmd/rxonly.c", "# ", 30, verify = True)
self.dut.build_install_dpdk(self.dut.target)
self.dut.kill_all()
pass
--
1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dts] [PATCH V1] add a new check ponit for ptype mapping test
2017-09-11 7:43 [dts] [PATCH V1] add a new check ponit for ptype mapping test xu,huilong
@ 2017-09-18 10:57 ` Liu, Yong
0 siblings, 0 replies; 2+ messages in thread
From: Liu, Yong @ 2017-09-18 10:57 UTC (permalink / raw)
To: xu,huilong, dts
Thanks, applied with typo fixed.
On 09/11/2017 03:43 PM, xu,huilong wrote:
> check linux commend exec succeful, if update dpdk code failed by sed commend. This test will failed,
> and not have any log.
>
> Signed-off-by: xu,huilong<huilongx.xu@intel.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-09-18 2:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-11 7:43 [dts] [PATCH V1] add a new check ponit for ptype mapping test xu,huilong
2017-09-18 10:57 ` 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).