test: Adjust run_command_list() to return a list of strings
Return one string for each command that was executed. This seems cleaner. Suggested-by: Teddy Reed <teddy.reed@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
@@ -71,7 +71,7 @@ def test_vboot(u_boot_console):
|
||||
['sb load hostfs - 100 %stest.fit' % tmpdir,
|
||||
'fdt addr 100',
|
||||
'bootm 100'])
|
||||
assert(expect_string in output)
|
||||
assert(expect_string in ''.join(output))
|
||||
|
||||
def make_fit(its):
|
||||
"""Make a new FIT from the .its source file.
|
||||
|
||||
Reference in New Issue
Block a user