* [dts] [PATCH V1] tests/ptype_mapping: remove the action of insert printf to app/test-pmd/rxonly.c
@ 2018-10-17 5:44 wenjieli
0 siblings, 0 replies; only message in thread
From: wenjieli @ 2018-10-17 5:44 UTC (permalink / raw)
To: dts; +Cc: wenjieli
'self.dut.send_expect("sed ...' insert a new line in app/test-pmd/rxonly.c,
this is useless and could cause compile error, remove it.
Signed-off-by: wenjieli <wenjiex.a.li@intel.com>
---
tests/TestSuite_ptype_mapping.py | 5 -----
1 file changed, 5 deletions(-)
diff --git a/tests/TestSuite_ptype_mapping.py b/tests/TestSuite_ptype_mapping.py
index 8f310e8..efe52ff 100644
--- a/tests/TestSuite_ptype_mapping.py
+++ b/tests/TestSuite_ptype_mapping.py
@@ -53,9 +53,6 @@ class TestPtype_Mapping(TestCase):
self.dut_port = valports[0]
tester_port = self.tester.get_local_port(self.dut_port)
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, verify = True)
self.dut.build_install_dpdk(self.dut.target)
@@ -229,8 +226,6 @@ 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, verify = True)
self.dut.build_install_dpdk(self.dut.target)
self.dut.kill_all()
pass
--
2.17.2
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-10-17 5:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-17 5:44 [dts] [PATCH V1] tests/ptype_mapping: remove the action of insert printf to app/test-pmd/rxonly.c wenjieli
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).