Skip to content
Snippets Groups Projects
  1. Aug 01, 2021
    • Simon Glass's avatar
      sandbox: Reduce keyed autoboot delay · cb897009
      Simon Glass authored
      
      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: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Fixes: 25c8b9f2 ("test: add first autoboot unit tests")
      Reviewed-by: default avatarSteffen Jaeckel <jaeckel-floss@eyet-services.de>
      cb897009
  2. Jul 23, 2021
Loading