Unit test is not available out of sandbox config
Simon Glass
sjg at chromium.org
Mon Nov 9 05:03:43 CET 2020
Hi Kever,
On Sun, 8 Nov 2020 at 20:26, Kever Yang <kever.yang at rock-chips.com> wrote:
>
> Hi Simon,
>
> Seems like the Unit test is only available with sandbox now,
> because of the bloblist test depends on the header in sandbox arch,
>
> see the build error:
>
> CC test/bloblist.o
> CC test/env/attr.o
> CC test/overlay/cmd_ut_overlay.o
> LD drivers/fastboot/built-in.o
> LD drivers/built-in.o
> test/bloblist.c:10:23: fatal error: asm/state.h: No such file or directory
> #include <asm/state.h>
> ^
> compilation terminated.
> LD test/log/built-in.o
> make[1]: *** [scripts/Makefile.build:265: test/bloblist.o] Error 1
> make[1]: *** Waiting for unfinished jobs....
Oh dear. Thanks for the report. I will send a patch.
Regards,
Simon
More information about the U-Boot
mailing list