Unit test is not available out of sandbox config

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....
Thanks,
- Kever

Hi Kever,
On Sun, 8 Nov 2020 at 20:26, Kever Yang kever.yang@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
participants (2)
-
Kever Yang
-
Simon Glass