tests/console: Add tests for log message routing behavior
Change-Id: Id978cfe4fa45fef9edbc3d3b55606ff6973521c5 Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/55356 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jakub Czapiga <jacz@semihalf.com>
This commit is contained in:
14
tests/console/Makefile.inc
Normal file
14
tests/console/Makefile.inc
Normal file
@@ -0,0 +1,14 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
tests-y += routing-with-cbmemcons-test
|
||||
tests-y += routing-without-cbmemcons-test
|
||||
|
||||
routing-with-cbmemcons-test-srcs += tests/console/routing-test.c
|
||||
routing-with-cbmemcons-test-srcs += src/console/init.c
|
||||
routing-with-cbmemcons-test-config += CONFIG_CONSOLE_CBMEM=1
|
||||
routing-with-cbmemcons-test-mocks += get_log_level
|
||||
|
||||
routing-without-cbmemcons-test-srcs += tests/console/routing-test.c
|
||||
routing-without-cbmemcons-test-srcs += src/console/init.c
|
||||
routing-without-cbmemcons-test-config += CONFIG_CONSOLE_CBMEM=0
|
||||
routing-without-cbmemcons-test-mocks += get_log_level
|
Reference in New Issue
Block a user