[dts] [dts 22/28] tests/TestSuite_rxtx_callbacks:Modify the hard coded app parameter to call the platform interface
Zhou Jun
junx.w.zhou at intel.com
Tue Dec 8 11:06:21 CET 2020
Signed-off-by: Zhou Jun <junx.w.zhou at intel.com>
---
tests/TestSuite_rxtx_callbacks.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/TestSuite_rxtx_callbacks.py b/tests/TestSuite_rxtx_callbacks.py
index 33a1bb00..f7d343eb 100644
--- a/tests/TestSuite_rxtx_callbacks.py
+++ b/tests/TestSuite_rxtx_callbacks.py
@@ -67,7 +67,8 @@ class TestRxtxCallbacks(TestCase):
pass
def test_rxtx_callbacks(self):
- cmd = self.app_rxtx_callbacks_path + " -c %s -n %d " % (self.coremask,self.dut.get_memory_channels())
+ eal_para = self.dut.create_eal_parameters(cores='1S/2C/1T')
+ cmd = self.app_rxtx_callbacks_path + " %s" % eal_para
self.dut.send_expect(cmd,"forwarding packets",60)
self.iface_port0 = self.tester.get_interface(self.tester.get_local_port(self.dut_ports[0]))
--
2.17.1
More information about the dts
mailing list