[V1] tests/hello_world: fixed script

Message ID 20220422164821.31738-1-songx.jiale@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/hello_world: fixed script |

Checks

Context Check Description
ci/Intel-dts-format-test fail Testing issues
ci/Intel-dts-pylama-test fail Testing issues
ci/Intel-dts-suite-test success Testing OK

Commit Message

Jiale, SongX April 22, 2022, 4:48 p.m. UTC
  parameter transmission error, modify incoming parameters.

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

Comments

Huang, ZhiminX April 22, 2022, 9:11 a.m. UTC | #1
> -----Original Message-----
> From: Jiale Song <songx.jiale@intel.com>
> Sent: Saturday, April 23, 2022 12:48 AM
> To: dts@dpdk.org
> Cc: Jiale, SongX <songx.jiale@intel.com>
> Subject: [dts] [PATCH V1] tests/hello_world: fixed script
> 
> parameter transmission error, modify incoming parameters.
> 
> Signed-off-by: Jiale Song <songx.jiale@intel.com>
> ---
Tested-by: Zhimin Huang <zhiminx.huang@intel.com >
  
Tu, Lijuan April 26, 2022, 2:47 a.m. UTC | #2
On Fri, 22 Apr 2022 16:48:21 +0000, Jiale Song <songx.jiale@intel.com> wrote:
> parameter transmission error, modify incoming parameters.
> 
> Signed-off-by: Jiale Song <songx.jiale@intel.com>


Applied, thanks
  

Patch

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)