u-boot-brain/test/log/Makefile
Sean Anderson 89723b9494 test: Add a test for log filter-*
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>
2020-10-30 10:56:11 -04:00

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