summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/Makefile.inc1
-rw-r--r--tests/lib/b64_decode-test.c6
2 files changed, 1 insertions, 6 deletions
diff --git a/tests/lib/Makefile.inc b/tests/lib/Makefile.inc
index 594c68ec06..b66d386787 100644
--- a/tests/lib/Makefile.inc
+++ b/tests/lib/Makefile.inc
@@ -8,6 +8,7 @@ string-test-srcs += tests/lib/string-test.c
string-test-srcs += src/lib/string.c
b64_decode-test-srcs += tests/lib/b64_decode-test.c
+b64_decode-test-srcs += tests/stubs/console.c
b64_decode-test-srcs += src/lib/b64_decode.c
hexstrtobin-test-srcs += tests/lib/hexstrtobin-test.c
diff --git a/tests/lib/b64_decode-test.c b/tests/lib/b64_decode-test.c
index 452c67f3ae..e6bbca50ee 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;