[dts] [dts 09/28] tests/TestSuite_kni:Modify the hard coded app parameter to call the platform interface
Zhou Jun
junx.w.zhou at intel.com
Tue Dec 8 11:06:08 CET 2020
Signed-off-by: Zhou Jun <junx.w.zhou at intel.com>
---
tests/TestSuite_kni.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_kni.py b/tests/TestSuite_kni.py
index a65fbf46..0a300539 100644
--- a/tests/TestSuite_kni.py
+++ b/tests/TestSuite_kni.py
@@ -341,9 +341,11 @@ class TestKni(TestCase):
config_param = self.build_config_param()
+ eal_para = self.dut.create_eal_parameters(
+ cores=self.config['rx_cores'] + self.config['tx_cores'] + self.config['kernel_cores'])
out_kni = self.dut.send_expect(
- './%s -c %s -n %d -- -P -p %s %s -m &' %
- (self.app_kni_path, core_mask, self.dut.get_memory_channels(), port_mask, config_param),
+ './%s %s -- -P -p %s %s -m &' %
+ (self.app_kni_path, eal_para, port_mask, config_param),
"Link [Uu]p", 20)
time.sleep(5)
--
2.17.1
More information about the dts
mailing list