CONFIG_SPL_UNIT_TEST
Simon Glass
sjg at chromium.org
Tue Nov 3 16:12:11 CET 2020
Hi Heinrich,
On Sat, 31 Oct 2020 at 00:47, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Hello Simon,
>
> CONFIG_SPL_UNIT_TEST can be selected for non-sandboard boards.
>
> How would the tests be executed here?
I don't have a mechanism for that at present. We can't use a command
in SPL and of course we can't use a command-line argument.
One option is a new Kconfig (and/or perhaps a DT config option) which
tells the tests to run in SPL's board_init_r(), after which the board
continues to boot.
Regards,
Simon
More information about the U-Boot
mailing list