From 3b745cc64846df60e4d9de7b3ec3f1740e301f3b Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Sun, 3 Mar 2019 06:25:24 -0500 Subject: [PATCH] mbedtls: enable self-test in config-tls-generic.h MBEDTLS_SELF_TEST is needed when setting CONFIG_MBEDTLS_TEST Fixes #13919 Signed-off-by: Anas Nashif --- ext/lib/crypto/mbedtls/configs/config-tls-generic.h | 1 + tests/crypto/mbedtls/testcase.yaml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ext/lib/crypto/mbedtls/configs/config-tls-generic.h b/ext/lib/crypto/mbedtls/configs/config-tls-generic.h index f09e745a737..6b9697a0d33 100644 --- a/ext/lib/crypto/mbedtls/configs/config-tls-generic.h +++ b/ext/lib/crypto/mbedtls/configs/config-tls-generic.h @@ -27,6 +27,7 @@ #endif #if defined(CONFIG_MBEDTLS_TEST) +#define MBEDTLS_SELF_TEST #define MBEDTLS_DEBUG_C #endif diff --git a/tests/crypto/mbedtls/testcase.yaml b/tests/crypto/mbedtls/testcase.yaml index d3b92d1c918..406f8ec77c7 100644 --- a/tests/crypto/mbedtls/testcase.yaml +++ b/tests/crypto/mbedtls/testcase.yaml @@ -1,7 +1,8 @@ tests: crypto.mbedtls: filter: not CONFIG_DEBUG - min_flash: 33 + platform_exclude: qemu_x86_64 # FIXME + min_flash: 65 min_ram: 32 tags: crypto mbedtls timeout: 200