Skip to content
Commit cb897009 authored by Simon Glass's avatar Simon Glass
Browse files

sandbox: Reduce keyed autoboot delay



The autoboot tests are a recent addition to U-Boot, providing much-needed
coverage in this area.

A side effect of the keyed autoboot test is that this feature is enabled
in sandbox always. This changes the autoboot prompt and confuses the
pytests. Some tests become slower, for example the vboot tests take about
27s now instead of 3s.

We don't actually need this feature enabled to be able to run the tests.
Add a switch to allow sandbox to turn it on and off as needed. Use this
in the one test that needs it.

Add a command-line flag in case this is desired in normal use.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Fixes: 25c8b9f2 ("test: add first autoboot unit tests")
Reviewed-by: default avatarSteffen Jaeckel <jaeckel-floss@eyet-services.de>
parent ea40b204
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment