mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-13 00:03:26 +09:00
![Sean Anderson](/assets/img/avatar_default.png)
This exercises a few success and failure modes of the log filter-* commands. log filter-list is not tested because it's purely informational. I don't think there's a good way to test it except by testing if the output of the command exactly matches a sample run. Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
24 lines
450 B
Makefile
24 lines
450 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
|
|
|
|
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
|