diff mbox series

[v3,24/25] test: Remove ASN1 library test

Message ID 20240528140955.1960172-25-raymond.mao@linaro.org
State RFC
Delegated to: Tom Rini
Headers show
Series Integrate MbedTLS v3.6 LTS with U-Boot | expand

Commit Message

Raymond Mao May 28, 2024, 2:09 p.m. UTC
With MBEDTLS_LIB_X509 enabled, we don't build the original ASN1 lib,
So remove it from test.

Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
---
Changes in v2
- Initial patch.
Changes in v3
- None.

 test/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ilias Apalodimas May 31, 2024, 6:50 a.m. UTC | #1
On Tue, May 28, 2024 at 07:09:35AM -0700, Raymond Mao wrote:
> With MBEDTLS_LIB_X509 enabled, we don't build the original ASN1 lib,
> So remove it from test.
>
> Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
> ---
> Changes in v2
> - Initial patch.
> Changes in v3
> - None.
>
>  test/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/test/Kconfig b/test/Kconfig
> index e2ec0994a2e..558a9cd49b4 100644
> --- a/test/Kconfig
> +++ b/test/Kconfig
> @@ -32,7 +32,7 @@ if UT_LIB
>
>  config UT_LIB_ASN1
>  	bool "Unit test for asn1 compiler and decoder function"
> -	depends on SANDBOX
> +	depends on SANDBOX && !MBEDTLS_LIB_X509
>  	default y
>  	imply ASYMMETRIC_KEY_TYPE
>  	imply ASYMMETRIC_PUBLIC_KEY_SUBTYPE
> --
> 2.25.1
>

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
diff mbox series

Patch

diff --git a/test/Kconfig b/test/Kconfig
index e2ec0994a2e..558a9cd49b4 100644
--- a/test/Kconfig
+++ b/test/Kconfig
@@ -32,7 +32,7 @@  if UT_LIB
 
 config UT_LIB_ASN1
 	bool "Unit test for asn1 compiler and decoder function"
-	depends on SANDBOX
+	depends on SANDBOX && !MBEDTLS_LIB_X509
 	default y
 	imply ASYMMETRIC_KEY_TYPE
 	imply ASYMMETRIC_PUBLIC_KEY_SUBTYPE