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

Message ID 20201208100627.9792-25-junx.w.zhou@intel.com (mailing list archive)
State Accepted
Headers
Series Modify the hard coded app parameter to call the platform interface |

Commit Message

Zhou, JunX W Dec. 8, 2020, 10:06 a.m. UTC
  Signed-off-by: Zhou Jun <junx.w.zhou@intel.com>
---
 tests/TestSuite_skeleton.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Patch

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)