4 Select this to compile in unit tests for various parts of
5 U-Boot. Test suites will be subcommands of the "ut" command.
6 This does not require sandbox to be included, but it is most
10 bool "Unit tests in SPL"
11 # We need to be able to unbind devices for tests to work
12 select SPL_DM_DEVICE_REMOVE
14 Select this to enable unit tests in SPL. Most test are designed for
15 running in U-Boot proper, but some are intended for SPL, such as
16 of-platdata and SPL handover. To run these tests with the sandbox_spl
17 board, use the -u (unit test) option.
20 bool "Unit tests for library functions"
24 Enables the 'ut lib' command which tests library functions like
25 memcat(), memcyp(), memmove() and ASN1 compiler/decoder.
30 bool "Unit test for asn1 compiler and decoder function"
32 imply ASYMMETRIC_KEY_TYPE
33 imply ASYMMETRIC_PUBLIC_KEY_SUBTYPE
34 imply X509_CERTIFICATE_PARSER
35 imply PKCS7_MESSAGE_PARSER
36 imply RSA_PUBLIC_KEY_PARSER
38 Enables a test which exercises asn1 compiler and decoder function
42 bool "Unit test for rsa_verify() function"
44 depends on RSA_VERIFY_WITH_PKEY
45 select IMAGE_SIGN_INFO
48 Enables rsa_verify() test, currently rsa_verify_with_pkey only()
49 only, at the 'ut lib' command.
54 bool "Unit test for compression"
56 depends on CMDLINE && GZIP_COMPRESSED && BZIP2 && LZMA && LZO && LZ4
59 Enables tests for compression and decompression routines for simple
60 sanity and for buffer overflow conditions.
63 bool "Unit tests for logging functions"
67 Enables the 'ut log' command which tests logging functions like
69 See also CONFIG_LOG_TEST which provides the 'log test' command.
72 bool "Unit tests for time functions"
75 Enables the 'ut time' command which tests that the time functions
76 work correctly. The test is fairly simple and will not catch all
77 problems. But if you are having problems with udelay() and the like,
78 this is a good place to start.
81 bool "Unit tests for Unicode functions"
85 Enables the 'ut unicode' command which tests that the functions for
86 manipulating Unicode strings work correctly.
88 source "test/dm/Kconfig"
89 source "test/env/Kconfig"
90 source "test/optee/Kconfig"
91 source "test/overlay/Kconfig"