[PATCH 19/19] test: let UNIT_TEST imply CONSOLE_RECORD

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Sun Nov 23 23:57:11 CET 2025


The cmd and the log test suites rely on CONFIG_CONSOLE_RECORD.
The log test suite is always built if CONFIG_UNIT_TEST=y.

The print_do_hex_dump test relies on CONFIG_HEXDUMP. Imply it too.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
 test/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/Kconfig b/test/Kconfig
index 6a4a5fc6708..24105c13304 100644
--- a/test/Kconfig
+++ b/test/Kconfig
@@ -3,6 +3,7 @@ menu "Testing"
 config UNIT_TEST
 	bool "Unit tests"
 	depends on CMDLINE
+	imply CONSOLE_RECORD
 	imply HEXDUMP
 	help
 	  Select this to compile in unit tests for various parts of
-- 
2.51.0



More information about the U-Boot mailing list