[U-Boot] [PATCH 08/11] efi_selftest: allow to select a single test for exexution

Simon Glass sjg at chromium.org
Mon Oct 9 04:49:13 UTC 2017


On 7 October 2017 at 22:57, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> The second argument of bootefi is passed as a configuration
> table to the selftest application. It is used to select
> a single test to be executed.
>
> Tests get an on_request property. If this property is set
> the tests are only executed if explicitly requested.
>
> A new command 'bootefi selftest list' is added that allows to list
> all tests.
>
> The invocation of efi_selftest is changed to reflect that
> bootefi selftest list will call the Exit bootservice.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>  cmd/bootefi.c                        | 24 ++++++++--
>  include/efi_selftest.h               | 18 ++++++++
>  lib/efi_selftest/efi_selftest.c      | 88 ++++++++++++++++++++++++++++++++++--
>  lib/efi_selftest/efi_selftest_util.c |  9 ++++
>  4 files changed, 132 insertions(+), 7 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list