mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
refactor(mbedtls/test): Move the mbedtls test app to support multiple test apps
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user