u-boot/lib/efi_selftest
Heinrich Schuchardt 06c3d5b989 efi_selftest: check installation of the device tree
The unit test checks if a device tree is installed. It requires that the
'compatible' property of the root node exists. If available it prints the
'serial-number' property.

The serial-number property is derived from the environment variable
'serial#'. This can be used to check if the image_setup_libfdt() function
is executed.

A Python test is supplied. It sets a value for serial# and checks that the
selftest shows this as serial-number.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2018-04-04 11:00:06 +02:00
..
.gitignore efi_selftest: test start image 2018-01-22 23:09:14 +01:00
efi_selftest.c efi_selftest: colored test output 2018-01-22 23:09:12 +01:00
efi_selftest_block_device.c efi_selftest: provide a test for block io 2018-01-22 23:09:14 +01:00
efi_selftest_console.c efi_selftest: colored test output 2018-01-22 23:09:12 +01:00
efi_selftest_controllers.c efi_selftest: test for (Dis)ConnectController 2018-01-22 23:09:13 +01:00
efi_selftest_devicepath.c efi_selftest: reduce noise in test output for device trees 2018-01-22 23:10:20 +01:00
efi_selftest_disk_image.h efi_selftest: provide a test for block io 2018-01-22 23:09:14 +01:00
efi_selftest_events.c efi_selftest: avoid superfluous messages for event services 2018-01-22 23:09:12 +01:00
efi_selftest_exitbootservices.c efi_selftest: make tests easier to read 2017-10-09 07:00:23 +02:00
efi_selftest_fdt.c efi_selftest: check installation of the device tree 2018-04-04 11:00:06 +02:00
efi_selftest_gop.c efi_selftest: test for graphics output protocol 2017-12-01 13:22:56 +01:00
efi_selftest_manageprotocols.c efi_selftest: remove todo in manage protocols 2018-01-22 23:09:13 +01:00
efi_selftest_miniapp_exit.c efi_selftest: add missing LF in test output 2018-01-22 23:09:14 +01:00
efi_selftest_miniapp_return.c efi_selftest: add missing LF in test output 2018-01-22 23:09:14 +01:00
efi_selftest_snp.c efi_loader: consistently use efi_uintn_t in boot services 2017-12-01 13:22:56 +01:00
efi_selftest_startimage_exit.c efi_selftest: test start image 2018-01-22 23:09:14 +01:00
efi_selftest_startimage_return.c efi_selftest: test start image 2018-01-22 23:09:14 +01:00
efi_selftest_textoutput.c efi_selftest: provide test for EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL 2017-12-01 13:22:55 +01:00
efi_selftest_tpl.c efi_selftest: avoid superfluous messages for task priority levels 2018-01-22 23:09:12 +01:00
efi_selftest_util.c efi_selftest: allow to select a single test for execution 2017-12-01 13:22:55 +01:00
efi_selftest_watchdog.c efi_selftest: test reboot by watchdog 2017-12-01 13:22:55 +01:00
Kconfig efi_selftest: provide an EFI selftest application 2017-09-18 23:53:57 +02:00
Makefile efi_selftest: check installation of the device tree 2018-04-04 11:00:06 +02:00