mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 00:48:52 +09:00
![AKASHI Takahiro](/assets/img/avatar_default.png)
This test will exercise asn1 compiler as well as asn1 decoder functions via various parsers. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
54 lines
1.5 KiB
Plaintext
54 lines
1.5 KiB
Plaintext
menuconfig UNIT_TEST
|
|
bool "Unit tests"
|
|
help
|
|
Select this to compile in unit tests for various parts of
|
|
U-Boot. Test suites will be subcommands of the "ut" command.
|
|
This does not require sandbox to be included, but it is most
|
|
often used there.
|
|
|
|
config UT_LIB
|
|
bool "Unit tests for library functions"
|
|
depends on UNIT_TEST
|
|
default y
|
|
help
|
|
Enables the 'ut lib' command which tests library functions like
|
|
memcat(), memcyp(), memmove() and ASN1 compiler/decoder.
|
|
|
|
if UT_LIB
|
|
|
|
config UT_LIB_ASN1
|
|
bool "Unit test for asn1 compiler and decoder function"
|
|
default y
|
|
imply ASYMMETRIC_KEY_TYPE
|
|
imply ASYMMETRIC_PUBLIC_KEY_SUBTYPE
|
|
imply X509_CERTIFICATE_PARSER
|
|
imply PKCS7_MESSAGE_PARSER
|
|
imply RSA_PUBLIC_KEY_PARSER
|
|
help
|
|
Enables a test which exercises asn1 compiler and decoder function
|
|
via various parsers.
|
|
|
|
endif
|
|
|
|
config UT_TIME
|
|
bool "Unit tests for time functions"
|
|
depends on UNIT_TEST
|
|
help
|
|
Enables the 'ut time' command which tests that the time functions
|
|
work correctly. The test is fairly simple and will not catch all
|
|
problems. But if you are having problems with udelay() and the like,
|
|
this is a good place to start.
|
|
|
|
config UT_UNICODE
|
|
bool "Unit tests for Unicode functions"
|
|
depends on UNIT_TEST
|
|
default y
|
|
help
|
|
Enables the 'ut unicode' command which tests that the functions for
|
|
manipulating Unicode strings work correctly.
|
|
|
|
source "test/dm/Kconfig"
|
|
source "test/env/Kconfig"
|
|
source "test/optee/Kconfig"
|
|
source "test/overlay/Kconfig"
|