u-boot/include/dm
Tom Rini 8162f35a10 Merge patch series "test: Improvements to ut command and test-suite running"
Simon Glass <sjg@chromium.org> says:

The current method of running unit tests relies on subcommands of the
ut command. Only the code in each subcommand knows how to find the tests
related to that subcomand.

This is not ideal and we now have quite a few subcommands which do
nothing but locate the relevant tests in a linker list, then call a
common function to run them.

This series adds a list of test suites, so that these subcommands can be
removed.

An issue with 'ut all' is that it doesn't record how many tests failed
overall, so it is necessary to examine copious amounts of output to look
for failures. This series adds a new 'total' feature allow recording the
total number of failed tests.

To help with 'ut all' a new pytest is created which runs it (as well as
'ut info') and makes sure that all is well. Due to the 'ut all' failures
this does not pass, so the test is disabled for now. It is here because
it provides security against misnaming a test suite and causing it not
to run.

Future work may:
- get 'ut all' passing
- enable test_suite() in CL, to ensure that 'ut all' keeps passing
- record duration of each suite
- allow running the tests in random order to tease out dependencies
- tweak the output to remove common prefixes
- getting rid of bootstd, optee and seame 'ut' subcommands

Link: https://lore.kernel.org/r/20250120212613.516664-1-sjg@chromium.org
2025-01-24 14:35:37 -06:00
..
platform_data Merge https://gitlab.denx.de/u-boot/custodians/u-boot-spi 2023-07-13 20:39:10 -04:00
acpi.h acpi: Add fill_madt to acpi_ops 2024-10-27 17:24:13 -06:00
device-internal.h dm: core: Add note about device_probe idempotence 2022-10-29 07:36:33 -06:00
device.h dm: core: Tweak device_is_on_pci_bus() for code size 2023-10-06 14:38:13 -04:00
device_compat.h common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
devres.h dm: use newly added linux/compat alloc functions 2024-06-07 16:20:25 -06:00
fdtaddr.h core: introduce dev_read_addr_name[_size]_ptr() functions 2023-10-13 10:15:41 -07:00
lists.h dm: core: Document return value of device bind functions 2022-10-29 07:36:33 -06:00
of.h Restore patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet" 2024-05-20 13:35:03 -06:00
of_access.h dm: core: implement oftree variant of parse_phandle OPs 2024-12-06 13:00:40 -06:00
of_addr.h include: dm: Remove duplicate newlines 2024-07-29 15:01:04 -06:00
of_extra.h doc: add include/dm/of*.h to the HTML documentation 2022-01-15 10:57:21 +01:00
ofnode.h dm: core: Provide ofnode_find_subnode_unit() 2025-01-22 17:08:24 -06:00
ofnode_decl.h dm: core: Add definitions for multiple ofnode trees 2022-09-29 22:43:43 -04:00
pci.h doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
pinctrl.h headers: don't depend on errno.h being available 2024-01-24 11:12:11 -05:00
platdata.h doc: add include/dm/platdata.h to the HTML documentation 2022-01-15 10:57:21 +01:00
read.h core: introduce dev_read_addr_name[_size]_ptr() functions 2023-10-13 10:15:41 -07:00
root.h common: Move autoprobe out to board init 2025-01-14 11:42:51 -06:00
simple_bus.h
tag.h dm: core: Add a command to show driver model statistics 2022-06-28 03:09:52 +01:00
test.h test: Drop the _test suffix on linker lists 2025-01-24 14:34:40 -06:00
uclass-id.h usb: tcpm: add core framework 2024-10-17 03:12:47 +02:00
uclass-internal.h dm: core: Allow finding a uclass device by partial name 2022-04-25 10:00:03 -04:00
uclass.h dm: core: Add a function to see if a device exists 2024-11-03 21:27:12 -06:00
util.h dm: use list_count_nodes() for counting list nodes 2024-07-31 09:54:53 +02:00