public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/3] test: inconsistent bootm tests
@ 2021-01-17 23:17 Heinrich Schuchardt
  2021-01-17 23:17 ` [PATCH 2/3] test: inconsistent string tests Heinrich Schuchardt
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Heinrich Schuchardt @ 2021-01-17 23:17 UTC (permalink / raw)
  To: u-boot

Excluding ut bootm in test/cmd_ut.c but compiling test/bootm.c results in
failure of the Python test invoking the C unit tests as observed on
sipeed_riscv_smode_defconfig:

FAILED test/py/tests/test_ut.py::test_ut[ut_bootm_nop]
FAILED test/py/tests/test_ut.py::test_ut[ut_bootm_nospace]
FAILED test/py/tests/test_ut.py::test_ut[ut_bootm_silent]
FAILED test/py/tests/test_ut.py::test_ut[ut_bootm_silent_var]
FAILED test/py/tests/test_ut.py::test_ut[ut_bootm_subst]
FAILED test/py/tests/test_ut.py::test_ut[ut_bootm_subst_both]
FAILED test/py/tests/test_ut.py::test_ut[ut_bootm_subst_var]

Only compile test/bootm.c on the sandbox.

Fixes: f158ba15ee0f ("bootm: Add tests for fixup_silent_linux()")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 test/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/Makefile b/test/Makefile
index d4323f9963..7d3fc29493 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -4,8 +4,8 @@

 ifneq ($(CONFIG_SANDBOX),)
 obj-$(CONFIG_$(SPL_)CMDLINE) += bloblist.o
-endif
 obj-$(CONFIG_$(SPL_)CMDLINE) += bootm.o
+endif
 obj-$(CONFIG_$(SPL_)CMDLINE) += cmd/
 obj-$(CONFIG_$(SPL_)CMDLINE) += cmd_ut.o
 obj-$(CONFIG_$(SPL_)CMDLINE) += command_ut.o
--
2.29.2

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

end of thread, other threads:[~2021-01-30 19:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-17 23:17 [PATCH 1/3] test: inconsistent bootm tests Heinrich Schuchardt
2021-01-17 23:17 ` [PATCH 2/3] test: inconsistent string tests Heinrich Schuchardt
2021-01-19 18:06   ` Simon Glass
2021-01-30 19:21   ` Tom Rini
2021-01-17 23:17 ` [PATCH 3/3] test: missing build dependency for test_print.c Heinrich Schuchardt
2021-01-18 15:39   ` Heinrich Schuchardt
2021-01-19 18:06 ` [PATCH 1/3] test: inconsistent bootm tests Simon Glass
2021-01-30 19:20 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox