6 Select this to compile in unit tests for various parts of
7 U-Boot. Test suites will be subcommands of the "ut" command.
8 This does not require sandbox to be included, but it is most
12 bool "Unit tests in SPL"
14 # We need to be able to unbind devices for tests to work
15 select SPL_DM_DEVICE_REMOVE
17 Select this to enable unit tests in SPL. Most test are designed for
18 running in U-Boot proper, but some are intended for SPL, such as
19 of-platdata and SPL handover. To run these tests with the sandbox_spl
20 board, use the -u (unit test) option.
23 bool "Unit tests for library functions"
25 default y if !SANDBOX_VPL
27 Enables the 'ut lib' command which tests library functions like
28 memcat(), memcyp(), memmove() and ASN1 compiler/decoder.
33 bool "Unit test for asn1 compiler and decoder function"
35 imply ASYMMETRIC_KEY_TYPE
36 imply ASYMMETRIC_PUBLIC_KEY_SUBTYPE
37 imply X509_CERTIFICATE_PARSER
38 imply PKCS7_MESSAGE_PARSER
39 imply RSA_PUBLIC_KEY_PARSER
41 Enables a test which exercises asn1 compiler and decoder function
45 bool "Unit test for crypt-style password hashing"
46 depends on !SPL && AUTOBOOT_KEYED && AUTOBOOT_ENCRYPTION
49 select CRYPT_PW_SHA256
50 select CRYPT_PW_SHA512
52 Enables a test for the crypt-style password hash functions.
55 bool "Unit test for rsa_verify() function"
57 depends on RSA_VERIFY_WITH_PKEY
58 select IMAGE_SIGN_INFO
61 Enables rsa_verify() test, currently rsa_verify_with_pkey only()
62 only, at the 'ut lib' command.
67 bool "Unit test for compression"
69 depends on CMDLINE && GZIP_COMPRESSED && BZIP2 && LZMA && LZO && LZ4 && ZSTD
72 Enables tests for compression and decompression routines for simple
73 sanity and for buffer overflow conditions.
76 bool "Unit tests for logging functions"
80 Enables the 'ut log' command which tests logging functions like
82 See also CONFIG_LOG_TEST which provides the 'log test' command.
85 bool "Unit tests for time functions"
88 Enables the 'ut time' command which tests that the time functions
89 work correctly. The test is fairly simple and will not catch all
90 problems. But if you are having problems with udelay() and the like,
91 this is a good place to start.
94 bool "Unit tests for Unicode functions"
99 Enables the 'ut unicode' command which tests that the functions for
100 manipulating Unicode strings work correctly.
102 source "test/dm/Kconfig"
103 source "test/env/Kconfig"
104 source "test/image/Kconfig"
105 source "test/lib/Kconfig"
106 source "test/optee/Kconfig"
107 source "test/overlay/Kconfig"
110 bool "Power On Self Test support"
112 See doc/README.POST for more details