test/Kconfig

Simon Glass sjg at chromium.org
Tue Nov 3 16:12:12 CET 2020


Hi Heinrich,

On Sat, 31 Oct 2020 at 01:14, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Hello Simon,
>
> since your patch
>
> ba96be48ad34180debcfbc11434be7329d530701
> dm: test: Build tests for SPL
>
> test/Kconfig is a bit in disarray.
>
> menuconfig UNIT_TEST marks a submenu. But there is no submenu anymore.
> Instead all items that used to be in the submenu are now shown on the
> same indentation level as UNIT_TEST.
>
> I would prefer if we had a submenu for UNIT_TEST as we had before and a
> separate submenu for SPL_UNIT_TEST. In the Makefile we could replace the
> remaining UT_<OPTION> by UT_$(SPL_)<OPTION>. This would allow us to
> independently select the tests built for SPL and for main U-Boot.
>
> Would this make sense for you?

That sounds OK to me, particularly if we end up enabling more tests in
SPL. At present there are only a few.

Regards,
Simon


More information about the U-Boot mailing list