[dts] [dts 24/28] tests/TestSuite_skeleton:Modify the hard coded app parameter to call the platform interface

Zhou Jun junx.w.zhou at intel.com
Tue Dec 8 11:06:23 CET 2020


Signed-off-by: Zhou Jun <junx.w.zhou at intel.com>
---
 tests/TestSuite_skeleton.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_skeleton.py b/tests/TestSuite_skeleton.py
index 7ae19f68..7ddc90a0 100644
--- a/tests/TestSuite_skeleton.py
+++ b/tests/TestSuite_skeleton.py
@@ -68,7 +68,8 @@ class TestSkeleton(TestCase):
         pass
 
     def test_skeleton(self):
-        cmd = self.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.path + " -c %s -n %d " % eal_para
         self.dut.send_expect(cmd,"forwarding packets",60)
          
         time.sleep(5)
-- 
2.17.1



More information about the dts mailing list