]> git.ipfire.org Git - thirdparty/u-boot.git/blame - test/Kconfig
Merge tag 'efi-2020-07-rc2-4' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
[thirdparty/u-boot.git] / test / Kconfig
CommitLineData
feb38472
JH
1menuconfig UNIT_TEST
2 bool "Unit tests"
3 help
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
7 often used there.
e721b882 8
2dd0111a
HS
9config UT_LIB
10 bool "Unit tests for library functions"
11 depends on UNIT_TEST
12 default y
13 help
14 Enables the 'ut lib' command which tests library functions like
f523400f
AT
15 memcat(), memcyp(), memmove() and ASN1 compiler/decoder.
16
17if UT_LIB
18
19config UT_LIB_ASN1
20 bool "Unit test for asn1 compiler and decoder function"
21 default y
22 imply ASYMMETRIC_KEY_TYPE
23 imply ASYMMETRIC_PUBLIC_KEY_SUBTYPE
24 imply X509_CERTIFICATE_PARSER
25 imply PKCS7_MESSAGE_PARSER
26 imply RSA_PUBLIC_KEY_PARSER
27 help
28 Enables a test which exercises asn1 compiler and decoder function
29 via various parsers.
30
d090b39e
AT
31config UT_LIB_RSA
32 bool "Unit test for rsa_verify() function"
33 depends on RSA
34 depends on RSA_VERIFY_WITH_PKEY
35 select IMAGE_SIGN_INFO
36 default y
37 help
38 Enables rsa_verify() test, currently rsa_verify_with_pkey only()
39 only, at the 'ut lib' command.
40
f523400f 41endif
2dd0111a 42
395041b2
HS
43config UT_LOG
44 bool "Unit tests for logging functions"
45 depends on UNIT_TEST
46 default y
47 help
48 Enables the 'ut log' command which tests logging functions like
49 log_err().
50 See also CONFIG_LOG_TEST which provides the 'log test' command.
51
c812f722 52config UT_TIME
8271f5d4 53 bool "Unit tests for time functions"
feb38472 54 depends on UNIT_TEST
8271f5d4 55 help
c812f722 56 Enables the 'ut time' command which tests that the time functions
8271f5d4
SG
57 work correctly. The test is fairly simple and will not catch all
58 problems. But if you are having problems with udelay() and the like,
59 this is a good place to start.
60
f11a164b
HS
61config UT_UNICODE
62 bool "Unit tests for Unicode functions"
63 depends on UNIT_TEST
64 default y
65 help
66 Enables the 'ut unicode' command which tests that the functions for
67 manipulating Unicode strings work correctly.
68
1967982a 69source "test/dm/Kconfig"
421f86f3 70source "test/env/Kconfig"
96383bdf 71source "test/optee/Kconfig"
f2a9942f 72source "test/overlay/Kconfig"