2 bool "Power On Self Test support"
4 See doc/README.POST for more details
11 Select this to compile in unit tests for various parts of
12 U-Boot. Test suites will be subcommands of the "ut" command.
13 This does not require sandbox to be included, but it is most
17 bool "Unit tests in SPL"
19 # We need to be able to unbind devices for tests to work
20 select SPL_DM_DEVICE_REMOVE
22 Select this to enable unit tests in SPL. Most test are designed for
23 running in U-Boot proper, but some are intended for SPL, such as
24 of-platdata and SPL handover. To run these tests with the sandbox_spl
25 board, use the -u (unit test) option.
28 bool "Unit tests for library functions"
30 default y if !SANDBOX_VPL
32 Enables the 'ut lib' command which tests library functions like
33 memcat(), memcyp(), memmove() and ASN1 compiler/decoder.
38 bool "Unit test for asn1 compiler and decoder function"
40 imply ASYMMETRIC_KEY_TYPE
41 imply ASYMMETRIC_PUBLIC_KEY_SUBTYPE
42 imply X509_CERTIFICATE_PARSER
43 imply PKCS7_MESSAGE_PARSER
44 imply RSA_PUBLIC_KEY_PARSER
46 Enables a test which exercises asn1 compiler and decoder function
50 bool "Unit test for crypt-style password hashing"
51 depends on !SPL && AUTOBOOT_KEYED && AUTOBOOT_ENCRYPTION
54 select CRYPT_PW_SHA256
55 select CRYPT_PW_SHA512
57 Enables a test for the crypt-style password hash functions.
60 bool "Unit test for rsa_verify() function"
62 depends on RSA_VERIFY_WITH_PKEY
63 select IMAGE_SIGN_INFO
66 Enables rsa_verify() test, currently rsa_verify_with_pkey only()
67 only, at the 'ut lib' command.
72 bool "Unit test for compression"
74 depends on CMDLINE && GZIP_COMPRESSED && BZIP2 && LZMA && LZO && LZ4 && ZSTD
77 Enables tests for compression and decompression routines for simple
78 sanity and for buffer overflow conditions.
81 bool "Unit tests for logging functions"
85 Enables the 'ut log' command which tests logging functions like
87 See also CONFIG_LOG_TEST which provides the 'log test' command.
90 bool "Unit tests for time functions"
93 Enables the 'ut time' command which tests that the time functions
94 work correctly. The test is fairly simple and will not catch all
95 problems. But if you are having problems with udelay() and the like,
96 this is a good place to start.
99 bool "Unit tests for Unicode functions"
104 Enables the 'ut unicode' command which tests that the functions for
105 manipulating Unicode strings work correctly.
107 source "test/dm/Kconfig"
108 source "test/env/Kconfig"
109 source "test/lib/Kconfig"
110 source "test/optee/Kconfig"
111 source "test/overlay/Kconfig"