u-boot-brain/test/log
Heinrich Schuchardt 34d7f72a1d test: pr_cont_test.o depends on CONFIG_LOG=y
Compiling wandboard_defconfig with CONFIG_UT_LOG=y leads to a build error:

test/log/pr_cont_test.c: In function ‘log_test_pr_cont’:
test/log/pr_cont_test.c:28:14: error:
‘gd_t’ {aka ‘volatile struct global_data’} has no member named ‘log_fmt’
  log_fmt = gd->log_fmt;

We do not want to let CONFIG_UT_LOG depend on CONFIG_LOG=y because we have
tests for logging functions called with CONFIG_LOG=n.

Fix the build dependency.

Reported-by: Kever Yang <kever.yang@rock-chips.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2021-01-29 10:36:49 -05:00
..
cont_test.c test: log: test message continuation 2020-10-27 13:50:53 -04:00
log_filter.c test: Add a test for log filter-* 2020-10-30 10:56:11 -04:00
log_test.c test: log: add test for console output of dropped messages 2021-01-15 14:36:11 -05:00
Makefile test: pr_cont_test.o depends on CONFIG_LOG=y 2021-01-29 10:36:49 -05:00
nolog_test.c test: fix naming of test functions in the log test suite 2020-05-08 18:29:16 -04:00
pr_cont_test.c test: unit test for pr_err(), pr_cont() 2021-01-16 19:17:11 -05:00
syslog_test_ndebug.c test: Fix sandbox tests failing to build 2020-10-17 09:03:22 -04:00
syslog_test.c test: Fix sandbox tests failing to build 2020-10-17 09:03:22 -04:00
syslog_test.h test: log: Convert log_test from python to C 2020-10-30 10:55:26 -04:00
test-main.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00