u-boot-brain/include/test
Heinrich Schuchardt 395041b2fd test: log functions with CONFIG_LOG=n
If CONFIG_LOG=n, we still expect output for log_err(), log_warning(),
log_notice(), log_info() and in case of DEBUG=1 also for log_debug().

Provide unit tests verifying this.

The tests depend on:

	CONFIG_CONSOLE_RECORD=y
	CONFIG_LOG=n
	CONFIG_UT_LOG=y

It may be necessary to increase the value of CONFIG_SYS_MALLOC_F_LEN to
accommodate CONFIG_CONSOLE_RECORD=y.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-04-16 08:07:58 -06:00
..
compression.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
env.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
lib.h test: provide unit test for memory functions 2019-02-09 07:50:53 -05:00
log.h test: log functions with CONFIG_LOG=n 2020-04-16 08:07:58 -06:00
optee.h tests: add OP-TEE test suite 2019-11-14 07:09:34 -06:00
overlay.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
suites.h test: log functions with CONFIG_LOG=n 2020-04-16 08:07:58 -06:00
test.h test: Add a way to check each line of console output 2020-02-05 19:33:46 -07:00
ut.h test: Add a way to check each line of console output 2020-02-05 19:33:46 -07:00