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.y...@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