test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V1] tests/TestSuite_cmdline:Modify the hard coded appparameter
@ 2020-12-10 11:22 Zhou Jun
  2020-12-15  5:51 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Zhou Jun @ 2020-12-10 11:22 UTC (permalink / raw)
  To: dts; +Cc: Zhou Jun

Modify the hard coded appparameter to call the platform interface

Signed-off-by: Zhou Jun <junx.w.zhou@intel.com>
---
 tests/TestSuite_cmdline.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/tests/TestSuite_cmdline.py b/tests/TestSuite_cmdline.py
index 0172c4fd..c189934f 100644
--- a/tests/TestSuite_cmdline.py
+++ b/tests/TestSuite_cmdline.py
@@ -54,11 +54,9 @@ class TestCmdline(TestCase):
         self.verify("No such file" not in out, "compilation error 2")
 
         # Run cmdline app
-        cores = self.dut.get_core_list('1S/1C/1T')
-        coreMask = utils.create_mask(cores)
         self.app_cmdline_path = self.dut.apps_name['cmdline']
-        self.dut.send_expect("./%s -n 1 -c " % self.app_cmdline_path + coreMask, "> ", 10)
-
+        self.eal_para = self.dut.create_eal_parameters(cores="1S/1C/1T")
+        self.dut.send_expect(r'./%s %s' % (self.app_cmdline_path, self.eal_para), "> ", 10)
     def set_up(self):
         """
         Run before each test case.
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dts] [PATCH V1] tests/TestSuite_cmdline:Modify the hard coded appparameter
  2020-12-10 11:22 [dts] [PATCH V1] tests/TestSuite_cmdline:Modify the hard coded appparameter Zhou Jun
@ 2020-12-15  5:51 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2020-12-15  5:51 UTC (permalink / raw)
  To: Zhou, JunX W, dts; +Cc: Zhou, JunX W

> Modify the hard coded appparameter to call the platform interface
> 
> Signed-off-by: Zhou Jun <junx.w.zhou@intel.com>

Applied

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-15  5:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-10 11:22 [dts] [PATCH V1] tests/TestSuite_cmdline:Modify the hard coded appparameter Zhou Jun
2020-12-15  5:51 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).