-menuconfig UNIT_TEST
+config POST
+ bool "Power On Self Test support"
+ help
+ See doc/README.POST for more details
+
+menu "Unit tests"
+
+config UNIT_TEST
bool "Unit tests"
help
Select this to compile in unit tests for various parts of
config SPL_UNIT_TEST
bool "Unit tests in SPL"
+ depends on SPL
# We need to be able to unbind devices for tests to work
select SPL_DM_DEVICE_REMOVE
help
config UT_LIB
bool "Unit tests for library functions"
depends on UNIT_TEST
- default y
+ default y if !SANDBOX_VPL
help
Enables the 'ut lib' command which tests library functions like
memcat(), memcyp(), memmove() and ASN1 compiler/decoder.
config UT_COMPRESSION
bool "Unit test for compression"
depends on UNIT_TEST
- depends on CMDLINE && GZIP_COMPRESSED && BZIP2 && LZMA && LZO && LZ4
+ depends on CMDLINE && GZIP_COMPRESSED && BZIP2 && LZMA && LZO && LZ4 && ZSTD
default y
help
Enables tests for compression and decompression routines for simple
source "test/dm/Kconfig"
source "test/env/Kconfig"
+source "test/lib/Kconfig"
source "test/optee/Kconfig"
source "test/overlay/Kconfig"
+
+endmenu