[dts] [dts 26/28] tests/TestSuite_timer:Modify the hard coded app parameter to call the platform interface
Zhou Jun
junx.w.zhou at intel.com
Tue Dec 8 11:06:25 CET 2020
Signed-off-by: Zhou Jun <junx.w.zhou at intel.com>
---
tests/TestSuite_timer.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/TestSuite_timer.py b/tests/TestSuite_timer.py
index 0be80293..77758823 100644
--- a/tests/TestSuite_timer.py
+++ b/tests/TestSuite_timer.py
@@ -69,10 +69,10 @@ class TestTimer(TestCase):
# get the mask for the first core
cores = self.dut.get_core_list('1S/1C/1T')
- coreMask = utils.create_mask(cores)
+ eal_para = self.dut.create_eal_parameters(cores='1S/1C/1T')
# run timer on the background
- cmdline = "./%s -n 1 -c " % self.app_timer_path + coreMask + " &"
+ cmdline = "./%s %s " % (self.app_timer_path, eal_para) + " &"
self.dut.send_expect(cmdline, "# ", 1)
time.sleep(15)
--
2.17.1
More information about the dts
mailing list