mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-30 08:31:03 +00:00
89723b9494
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>
23 lines
450 B
Makefile
23 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
|