test: test/lib/test_print.c depends on CONSOLE_RECORD
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 5 Nov 2020 00:29:06 +0000 (01:29 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 16 Jan 2021 16:58:49 +0000 (11:58 -0500)
The tests in test/lib/test_print.c fail without CONFIG_CONSOLE_RECORD=y.

Add a build dependency.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/lib/Makefile

index 98a9abf..97c11e3 100644 (file)
@@ -7,7 +7,7 @@ obj-$(CONFIG_EFI_LOADER) += efi_device_path.o
 obj-$(CONFIG_EFI_SECURE_BOOT) += efi_image_region.o
 obj-y += hexdump.o
 obj-y += lmb.o
-obj-y += test_print.o
+obj-$(CONFIG_CONSOLE_RECORD) += test_print.o
 obj-$(CONFIG_SSCANF) += sscanf.o
 obj-y += string.o
 obj-$(CONFIG_ERRNO_STR) += test_errno_str.o