refactor(mbedtls/test): Move the mbedtls test app to support multiple test apps

This commit is contained in:
harshal.patil
2026-05-15 09:09:15 +05:30
parent d7c9c3bc10
commit 4821f331fe
69 changed files with 5 additions and 5 deletions
@@ -19,7 +19,7 @@ if(CONFIG_SECURE_TEE_ATTESTATION)
list(APPEND srcs "test_esp_tee_att.c")
endif()
set(mbedtls_test_srcs_dir "${idf_path}/components/mbedtls/test_apps/main")
set(mbedtls_test_srcs_dir "${idf_path}/components/mbedtls/test_apps/mbedtls_ut/main")
#AES
if(CONFIG_SOC_AES_SUPPORTED)
@@ -50,6 +50,6 @@ list(APPEND srcs "${mbedtls_test_srcs_dir}/test_apb_dport_access.c"
"${mbedtls_test_srcs_dir}/test_mbedtls_utils.c")
idf_component_register(SRCS ${srcs}
PRIV_INCLUDE_DIRS "${idf_path}/components/mbedtls/test_apps/include"
PRIV_INCLUDE_DIRS "${idf_path}/components/mbedtls/test_apps/mbedtls_ut/include"
PRIV_REQUIRES ${priv_requires}
WHOLE_ARCHIVE)
@@ -1,6 +1,6 @@
# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
components/mbedtls/test_apps:
components/mbedtls/test_apps/mbedtls_ut:
disable:
- if: CONFIG_NAME == "aes_no_hw" and SOC_AES_SUPPORTED != 1
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1