Unit test is not available out of sandbox config

Kever Yang kever.yang at rock-chips.com
Mon Nov 9 04:25:52 CET 2020


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





More information about the U-Boot mailing list