[U-Boot] [PATCH 08/14] test/py: Add an option to execute a string containing a command
Stephen Warren
swarren at wwwdotorg.org
Thu Jul 7 19:02:51 CEST 2016
On 07/03/2016 09:40 AM, Simon Glass wrote:
> It is sometimes inconvenient to convert a string into a list for execution
> with run_and_log(). Provide a helper function to do this.
> diff --git a/test/py/u_boot_utils.py b/test/py/u_boot_utils.py
> +def cmd(u_boot_console, cmd_str):
"cmd" seems very generic and doesn't give any clue what it does. How
about extending the existing function name to e.g. "run_and_log_str"?
More information about the U-Boot
mailing list