7 Select this to compile in unit tests for various parts of
8 U-Boot. Test suites will be subcommands of the "ut" command.
9 This does not require sandbox to be included, but it is most
13 bool "Unit tests in SPL"
15 # We need to be able to unbind devices for tests to work
16 select SPL_DM_DEVICE_REMOVE
18 Select this to enable unit tests in SPL. Most test are designed for
19 running in U-Boot proper, but some are intended for SPL, such as
20 of-platdata and SPL handover. To run these tests with the sandbox_spl
21 board, use the -u (unit test) option.
24 bool "Unit tests for library functions"
26 default y if !SANDBOX_VPL
28 Enables the 'ut lib' command which tests library functions like
29 memcat(), memcyp(), memmove() and ASN1 compiler/decoder.
34 bool "Unit test for asn1 compiler and decoder function"
37 imply ASYMMETRIC_KEY_TYPE
38 imply ASYMMETRIC_PUBLIC_KEY_SUBTYPE
39 imply X509_CERTIFICATE_PARSER
40 imply PKCS7_MESSAGE_PARSER
41 imply RSA_PUBLIC_KEY_PARSER
43 Enables a test which exercises asn1 compiler and decoder function
47 bool "Unit test for crypt-style password hashing"
48 depends on !SPL && AUTOBOOT_KEYED && AUTOBOOT_ENCRYPTION
51 select CRYPT_PW_SHA256
52 select CRYPT_PW_SHA512
54 Enables a test for the crypt-style password hash functions.
57 bool "Unit test for rsa_verify() function"
59 depends on RSA_VERIFY_WITH_PKEY
60 select IMAGE_SIGN_INFO
63 Enables rsa_verify() test, currently rsa_verify_with_pkey only()
64 only, at the 'ut lib' command.
69 bool "Unit tests for standard boot"
70 depends on UNIT_TEST && BOOTSTD && SANDBOX
74 bool "Unit test for compression"
76 depends on CMDLINE && GZIP_COMPRESSED && BZIP2 && LZMA && LZO && LZ4 && ZSTD
79 Enables tests for compression and decompression routines for simple
80 sanity and for buffer overflow conditions.
83 bool "Unit tests for logging functions"
87 Enables the 'ut log' command which tests logging functions like
89 See also CONFIG_LOG_TEST which provides the 'log test' command.
92 bool "Unit tests for time functions"
95 Enables the 'ut time' command which tests that the time functions
96 work correctly. The test is fairly simple and will not catch all
97 problems. But if you are having problems with udelay() and the like,
98 this is a good place to start.
101 bool "Unit tests for Unicode functions"
106 Enables the 'ut unicode' command which tests that the functions for
107 manipulating Unicode strings work correctly.
109 source "test/dm/Kconfig"
110 source "test/env/Kconfig"
111 source "test/image/Kconfig"
112 source "test/lib/Kconfig"
113 source "test/optee/Kconfig"
114 source "test/overlay/Kconfig"
117 bool "Power On Self Test support"
119 See doc/README.POST for more details