All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] test/test-main.c does not compile on non-sandbox
@ 2021-03-27 11:10 Heinrich Schuchardt
  2021-03-27 17:54 ` Simon Glass
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2021-03-27 11:10 UTC (permalink / raw)
  To: u-boot

Hello Simon,

commit

   c79705ea938e ("test: Move dm_test_init() into test-main.c")

merged into origin/next breaks compiling qemu-riscv64_defconfig with
CONFIG_UNIT_TEST=y:

test/test-main.c:10:10: fatal error: asm/state.h: No such file or directory
    10 | #include <asm/state.h>
       |          ^~~~~~~~~~~~~
compilation terminated.

Could you, please, provide a fix and set CONFIG_UNIT_TEST=y for some
QEMU boards so that we avoid such errors in future.

Please, also fix test/cmd/setexpr.c not compiling on non-sandbox leading
to an additional build error.

Best regards

Heinrich

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-27 17:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-27 11:10 [BUG] test/test-main.c does not compile on non-sandbox Heinrich Schuchardt
2021-03-27 17:54 ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.