mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-26 20:09:02 +09:00
![Heinrich Schuchardt](/assets/img/avatar_default.png)
Provide a unit test for printing via pr_err() and pr_cont(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
25 lines
474 B
Makefile
25 lines
474 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (c) 2017 Google, Inc
|
|
|
|
obj-$(CONFIG_LOG_TEST) += log_test.o
|
|
obj-$(CONFIG_CMD_LOG) += log_filter.o
|
|
|
|
ifdef CONFIG_UT_LOG
|
|
|
|
obj-y += test-main.o
|
|
obj-y += pr_cont_test.o
|
|
|
|
ifdef CONFIG_SANDBOX
|
|
obj-$(CONFIG_LOG_SYSLOG) += syslog_test.o
|
|
obj-$(CONFIG_LOG_SYSLOG) += syslog_test_ndebug.o
|
|
endif
|
|
|
|
ifdef CONFIG_LOG
|
|
obj-$(CONFIG_CONSOLE_RECORD) += cont_test.o
|
|
else
|
|
obj-$(CONFIG_CONSOLE_RECORD) += nolog_test.o
|
|
endif
|
|
|
|
endif # CONFIG_UT_LOG
|