From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heinrich Schuchardt Date: Sat, 27 Mar 2021 12:10:39 +0100 Subject: [BUG] test/test-main.c does not compile on non-sandbox Message-ID: <3ece157a-0be4-94af-512f-179de56a539d@gmx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 | ^~~~~~~~~~~~~ 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