summaryrefslogtreecommitdiffstats
path: root/tests/lib/b64_decode-test.c
diff options
context:
space:
mode:
authorAnna Karas <aka@semihalf.com>2020-07-07 16:38:27 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-07-12 19:38:28 +0000
commitf7cd0d5a0563fc039bc73a4e61eba76205e0fe98 (patch)
treee0898a2d60673db41b4be3cfde5143bb97cb3fd6 /tests/lib/b64_decode-test.c
parent478d47f7772a888e80e4e7381c4d4dfa8e861038 (diff)
downloadcoreboot-f7cd0d5a0563fc039bc73a4e61eba76205e0fe98.tar.gz
coreboot-f7cd0d5a0563fc039bc73a4e61eba76205e0fe98.tar.bz2
coreboot-f7cd0d5a0563fc039bc73a4e61eba76205e0fe98.zip
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 <aka@semihalf.com> Change-Id: I22a6a592f0d4d509f19920f4ad2b18e8ed83a03e Reviewed-on: https://review.coreboot.org/c/coreboot/+/43285 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'tests/lib/b64_decode-test.c')
-rw-r--r--tests/lib/b64_decode-test.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/lib/b64_decode-test.c b/tests/lib/b64_decode-test.c
index 452c67f3ae5d..e6bbca50eef5 100644
--- a/tests/lib/b64_decode-test.c
+++ b/tests/lib/b64_decode-test.c
@@ -24,12 +24,6 @@ const char *invalid[] = {
"SGVsbG-8="
};
-/* Provide necessary definition in order to satisfy dependencies. */
-int do_printk(int msg_level, const char *fmt, ...)
-{
- return 0;
-}
-
static void test_b64_decode(void **state)
{
uint8_t *decoded;