X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=test%2FKconfig;h=ab3ac54a1b2fcec84c67a4e9a3062996e182aee5;hb=58896458b70673a1401b60ba415c0158ae9d08cf;hp=0157e0b060adcb71baffbf0a6af3ca3969e7a5bd;hpb=e24f0a39d0daa2d8c597650aeb3f559d44a195ae;p=platform%2Fkernel%2Fu-boot.git diff --git a/test/Kconfig b/test/Kconfig index 0157e0b..ab3ac54 100644 --- a/test/Kconfig +++ b/test/Kconfig @@ -6,6 +6,16 @@ menuconfig UNIT_TEST This does not require sandbox to be included, but it is most often used there. +config SPL_UNIT_TEST + bool "Unit tests in SPL" + # We need to be able to unbind devices for tests to work + select SPL_DM_DEVICE_REMOVE + help + Select this to enable unit tests in SPL. Most test are designed for + running in U-Boot proper, but some are intended for SPL, such as + of-platdata and SPL handover. To run these tests with the sandbox_spl + board, use the -u (unit test) option. + config UT_LIB bool "Unit tests for library functions" depends on UNIT_TEST @@ -40,6 +50,24 @@ config UT_LIB_RSA endif +config UT_COMPRESSION + bool "Unit test for compression" + depends on UNIT_TEST + depends on CMDLINE && GZIP_COMPRESSED && BZIP2 && LZMA && LZO && LZ4 + default y + help + Enables tests for compression and decompression routines for simple + sanity and for buffer overflow conditions. + +config UT_LOG + bool "Unit tests for logging functions" + depends on UNIT_TEST + default y + help + Enables the 'ut log' command which tests logging functions like + log_err(). + See also CONFIG_LOG_TEST which provides the 'log test' command. + config UT_TIME bool "Unit tests for time functions" depends on UNIT_TEST