mbox series

[0/2] Fixes to allow 'ut bootm' to pass when run interactively

Message ID 20241101130254.473017-1-andrew.goodbody@linaro.org
Headers show
Series Fixes to allow 'ut bootm' to pass when run interactively | expand

Message

Andrew Goodbody Nov. 1, 2024, 1:02 p.m. UTC
Starting a sandbox session and running 'ut bootm' on the command
line instead of using pytest with --verbose will result in some
test failures. This series makes the tests more deterministic so
that they will better control their environment and hence will
work as expected whether or not they are invoked with '--verbose'.
The series starts with a small fix to the parameters of
bootm_process_cmdline that one commit incorrectly added using a bool
when it had been updated to take flags by the preceeding commit.


Andrew Goodbody (2):
  test: bootm: bootm_process_cmdline_env takes flags
  test: bootm: Ensure GD_FLG_SILENT is reset

 test/bootm.c | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

Comments

Tom Rini Nov. 5, 2024, 1:07 a.m. UTC | #1
On Fri, 01 Nov 2024 13:02:52 +0000, Andrew Goodbody wrote:

> Starting a sandbox session and running 'ut bootm' on the command
> line instead of using pytest with --verbose will result in some
> test failures. This series makes the tests more deterministic so
> that they will better control their environment and hence will
> work as expected whether or not they are invoked with '--verbose'.
> The series starts with a small fix to the parameters of
> bootm_process_cmdline that one commit incorrectly added using a bool
> when it had been updated to take flags by the preceeding commit.
> 
> [...]

Applied to u-boot/master, thanks!