From 31c88b7a4d578f09dde1d837794e4b8dfe3dc4ec Mon Sep 17 00:00:00 2001 From: "nilesh.kale" Date: Wed, 11 Mar 2026 11:04:48 +0530 Subject: [PATCH] fix(mbedtls): disable cert bundle tests in FPGA env --- components/mbedtls/test_apps/main/test_esp_crt_bundle.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/mbedtls/test_apps/main/test_esp_crt_bundle.c b/components/mbedtls/test_apps/main/test_esp_crt_bundle.c index ca8c918de1..fa4a062fd5 100644 --- a/components/mbedtls/test_apps/main/test_esp_crt_bundle.c +++ b/components/mbedtls/test_apps/main/test_esp_crt_bundle.c @@ -6,8 +6,12 @@ * * SPDX-License-Identifier: Apache-2.0 * - * SPDX-FileContributor: 2019-2025 Espressif Systems (Shanghai) CO LTD + * SPDX-FileContributor: 2019-2026 Espressif Systems (Shanghai) CO LTD */ +#include "sdkconfig.h" + +#if !CONFIG_IDF_ENV_FPGA + #include #include "esp_err.h" #include "esp_log.h" @@ -567,3 +571,4 @@ TEST_CASE("custom certificate bundle init API - bound checking - Incorrect certi esp_ret = esp_crt_bundle_set(test_bundle, sizeof(test_bundle)); TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, esp_ret); } +#endif /* !CONFIG_IDF_ENV_FPGA */