2 bool "Power On Self Test support"
4 See doc/README.POST for more details
9 Select this to compile in unit tests for various parts of
10 U-Boot. Test suites will be subcommands of the "ut" command.
11 This does not require sandbox to be included, but it is most
15 bool "Unit tests in SPL"
17 # We need to be able to unbind devices for tests to work
18 select SPL_DM_DEVICE_REMOVE
20 Select this to enable unit tests in SPL. Most test are designed for
21 running in U-Boot proper, but some are intended for SPL, such as
22 of-platdata and SPL handover. To run these tests with the sandbox_spl
23 board, use the -u (unit test) option.
26 bool "Unit tests for library functions"
28 default y if !SANDBOX_VPL
30 Enables the 'ut lib' command which tests library functions like
31 memcat(), memcyp(), memmove() and ASN1 compiler/decoder.
36 bool "Unit test for asn1 compiler and decoder function"
38 imply ASYMMETRIC_KEY_TYPE
39 imply ASYMMETRIC_PUBLIC_KEY_SUBTYPE
40 imply X509_CERTIFICATE_PARSER
41 imply PKCS7_MESSAGE_PARSER
42 imply RSA_PUBLIC_KEY_PARSER
44 Enables a test which exercises asn1 compiler and decoder function
48 bool "Unit test for crypt-style password hashing"
49 depends on !SPL && AUTOBOOT_KEYED && AUTOBOOT_ENCRYPTION
52 select CRYPT_PW_SHA256
53 select CRYPT_PW_SHA512
55 Enables a test for the crypt-style password hash functions.
58 bool "Unit test for rsa_verify() function"
60 depends on RSA_VERIFY_WITH_PKEY
61 select IMAGE_SIGN_INFO
64 Enables rsa_verify() test, currently rsa_verify_with_pkey only()
65 only, at the 'ut lib' command.
70 bool "Unit test for compression"
72 depends on CMDLINE && GZIP_COMPRESSED && BZIP2 && LZMA && LZO && LZ4
75 Enables tests for compression and decompression routines for simple
76 sanity and for buffer overflow conditions.
79 bool "Unit tests for logging functions"
83 Enables the 'ut log' command which tests logging functions like
85 See also CONFIG_LOG_TEST which provides the 'log test' command.
88 bool "Unit tests for time functions"
91 Enables the 'ut time' command which tests that the time functions
92 work correctly. The test is fairly simple and will not catch all
93 problems. But if you are having problems with udelay() and the like,
94 this is a good place to start.
97 bool "Unit tests for Unicode functions"
102 Enables the 'ut unicode' command which tests that the functions for
103 manipulating Unicode strings work correctly.
105 source "test/dm/Kconfig"
106 source "test/env/Kconfig"
107 source "test/lib/Kconfig"
108 source "test/optee/Kconfig"
109 source "test/overlay/Kconfig"