From: Simon Glass <simon.glass@canonical.com> Enable the bootctl tests (only for the sandbox board) so we can keep this functionality working. Signed-off-by: Simon Glass <simon.glass@canonical.com> --- configs/sandbox_defconfig | 1 + test/Kconfig | 1 - test/boot/Makefile | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index 55f8ddcc952..44185ccb7eb 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -371,5 +371,6 @@ CONFIG_ARGON2=y CONFIG_BACKTRACE=y CONFIG_TEST_FDTDEC=y CONFIG_UNIT_TEST=y +CONFIG_UT_BOOTCTL=y CONFIG_UT_TIME=y CONFIG_UT_DM=y diff --git a/test/Kconfig b/test/Kconfig index 27847250132..96723940bac 100644 --- a/test/Kconfig +++ b/test/Kconfig @@ -77,7 +77,6 @@ endif # UT_LIB config UT_BOOTCTL bool "Unit tests for boot schema" depends on BOOTSTD && SANDBOX - default y config UT_BOOTSTD bool "Unit tests for standard boot" diff --git a/test/boot/Makefile b/test/boot/Makefile index 70e15bf63fa..21f533cdc4c 100644 --- a/test/boot/Makefile +++ b/test/boot/Makefile @@ -10,6 +10,7 @@ obj-$(CONFIG_BLK_LUKS) += luks.o obj-$(CONFIG_EXPO) += expo.o expo_common.o obj-$(CONFIG_CEDIT) += cedit.o expo_common.o +obj-$(CONFIG_UT_BOOTCTL) += bootctl/ endif ifdef CONFIG_SANDBOX -- 2.43.0