u-boot/test/log
Simon Glass e1cbd916c8 log: Convert log values to printf() if not enabled
At present if logging not enabled, log_info() becomes a nop. But we want
log output at the 'info' level to be akin to printf(). Update the macro to
pass the output straight to printf() in this case.

This mimics the behaviour for the log_...() macros like log_debug() and
log_info(), so we can drop the special case for these.

Add new tests to cover this case.
Signed-off-by: Simon Glass <sjg@chromium.org>
2021-06-08 11:39:09 -04:00
..
cont_test.c log: Handle line continuation 2021-03-12 17:41:35 -05:00
log_filter.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
log_test.c log: Add support for logging a buffer 2021-06-08 11:39:09 -04:00
log_ut.c test: Add a macros for finding tests in linker_lists 2021-03-12 09:57:30 -05:00
Makefile log: Convert log values to printf() if not enabled 2021-06-08 11:39:09 -04:00
nolog_ndebug.c log: Convert log values to printf() if not enabled 2021-06-08 11:39:09 -04:00
nolog_test.c log: Convert log values to printf() if not enabled 2021-06-08 11:39:09 -04:00
pr_cont_test.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
syslog_test.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
syslog_test.h test: log: Convert log_test from python to C 2020-10-30 10:55:26 -04:00
syslog_test_ndebug.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00