]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_selftest: provide an EFI selftest application
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 15 Sep 2017 08:06:11 +0000 (10:06 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 18 Sep 2017 21:53:57 +0000 (23:53 +0200)
commit623b3a579765f8e05723bd1eff6f8c7e56d33922
tree6c51f2a6aa341c2e6c424201f48630d7c9c61f1c
parentea630ce9eae4858a2108bd019a6ef22e2bc1b3f6
efi_selftest: provide an EFI selftest application

A testing framework for the EFI API is provided.
It can be executed with the 'bootefi selftest' command.

It is coded in a way that at a later stage we may turn it
into a standalone EFI application. The current build system
does not allow this yet.

All tests use a driver model and are run in three phases:
setup, execute, teardown.

A test may be setup and executed at boottime,
it may be setup at boottime and executed at runtime,
or it may be setup and executed at runtime.

After executing all tests the system is reset.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
MAINTAINERS
cmd/Kconfig
cmd/bootefi.c
include/efi_loader.h
include/efi_selftest.h [new file with mode: 0644]
lib/Makefile
lib/efi_selftest/Kconfig [new file with mode: 0644]
lib/efi_selftest/Makefile [new file with mode: 0644]
lib/efi_selftest/efi_selftest.c [new file with mode: 0644]
lib/efi_selftest/efi_selftest_console.c [new file with mode: 0644]