From f7cd0d5a0563fc039bc73a4e61eba76205e0fe98 Mon Sep 17 00:00:00 2001 From: Anna Karas Date: Tue, 7 Jul 2020 16:38:27 +0200 Subject: tests: Move the console stubs to a dedicated directory Move the console functions definitions out from lib/b64_decode code to a dedicated directory. Signed-off-by: Anna Karas Change-Id: I22a6a592f0d4d509f19920f4ad2b18e8ed83a03e Reviewed-on: https://review.coreboot.org/c/coreboot/+/43285 Tested-by: build bot (Jenkins) Reviewed-by: Paul Fagerburg Reviewed-by: Julius Werner --- tests/stubs/console.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/stubs/console.c (limited to 'tests/stubs') diff --git a/tests/stubs/console.c b/tests/stubs/console.c new file mode 100644 index 0000000000..b6a75831b5 --- /dev/null +++ b/tests/stubs/console.c @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include + +int do_printk(int msg_level, const char *fmt, ...) +{ + return 0; +} + +int do_vprintk(int msg_level, const char *fmt, va_list args) +{ + return 0; +} -- cgit v1.2.3