[PATCH] test: add dependency for UT_LOG

Kever Yang kever.yang at rock-chips.com
Sun Jun 7 05:52:37 CEST 2020


The callback of do_ut_log() is defined in test/log/test-main.c
which is depend on CONFIG_LOG.

Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
---

 test/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/Kconfig b/test/Kconfig
index 9b2f84b551..8c32fa5cbd 100644
--- a/test/Kconfig
+++ b/test/Kconfig
@@ -42,6 +42,7 @@ endif
 
 config UT_LOG
 	bool "Unit tests for logging functions"
+	depends on LOG
 	depends on UNIT_TEST
 	default y
 	help
-- 
2.17.1





More information about the U-Boot mailing list