提交 f523400f 编写于 作者: A AKASHI Takahiro 提交者: Tom Rini

test: add asn1 unit test

This test will exercise asn1 compiler as well as asn1 decoder functions
via various parsers.
Signed-off-by: NAKASHI Takahiro <takahiro.akashi@linaro.org>
上级 e85a787c
......@@ -12,7 +12,23 @@ config UT_LIB
default y
help
Enables the 'ut lib' command which tests library functions like
memcat(), memcyp(), memmove().
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"
......
......@@ -7,3 +7,4 @@ obj-y += hexdump.o
obj-y += lmb.o
obj-y += string.o
obj-$(CONFIG_ERRNO_STR) += test_errno_str.o
obj-$(CONFIG_UT_LIB_ASN1) += asn1.o
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册