[dts] [PATCH V1] tests/hello_world: fixed script

Jiale Song songx.jiale at intel.com
Fri Apr 22 18:48:21 CEST 2022


parameter transmission error, modify incoming parameters.

Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
 tests/TestSuite_hello_world.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_hello_world.py b/tests/TestSuite_hello_world.py
index 6e670f09..45037b4e 100644
--- a/tests/TestSuite_hello_world.py
+++ b/tests/TestSuite_hello_world.py
@@ -82,7 +82,7 @@ class TestHelloWorld(TestCase):
 
         # get the maximum logical core number
         cores = self.dut.get_core_list("all")
-        eal_para = self.dut.create_eal_parameters(cores)
+        eal_para = self.dut.create_eal_parameters(cores=cores)
 
         cmdline = "./%s %s " % (self.app_helloworld_path, eal_para)
         out = self.dut.send_expect(cmdline, "# ", 50)
-- 
2.17.1



More information about the dts mailing list