[PATCH 18/26] test: spl: Split tests up and use some configs

Simon Glass sjg at chromium.org
Thu Oct 12 05:41:10 CEST 2023


On Wed, 11 Oct 2023 at 18:56, Sean Anderson <seanga2 at gmail.com> wrote:
>
> In order to make adding new spl unit tests easier, especially when they may
> have many dependencies, add some Kconfigs for the existing image test.
> Split it into the parts which are generic (such as callbacks) and the
> test-specific parts.
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> ---
>
>  test/Kconfig             |  1 +
>  test/Makefile            |  5 +--
>  test/image/Kconfig       | 20 ++++++++++
>  test/image/Makefile      |  3 +-
>  test/image/spl_load.c    | 76 +------------------------------------
>  test/image/spl_load_os.c | 81 ++++++++++++++++++++++++++++++++++++++++
>  6 files changed, 107 insertions(+), 79 deletions(-)
>  create mode 100644 test/image/Kconfig
>  create mode 100644 test/image/spl_load_os.c
>

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


More information about the U-Boot mailing list