From 1c26ef555cb801ca901223b68c742a59c7f67f46 Mon Sep 17 00:00:00 2001 From: Minos Galanakis Date: Thu, 1 Aug 2024 11:58:16 +0100 Subject: [PATCH] all.sh/components: Moved component_test_no_strings -> configuration. Signed-off-by: Minos Galanakis --- tests/scripts/components-configuration-platform.sh | 13 ------------- tests/scripts/components-configuration.sh | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/tests/scripts/components-configuration-platform.sh b/tests/scripts/components-configuration-platform.sh index 2f2163c890..bebd860511 100644 --- a/tests/scripts/components-configuration-platform.sh +++ b/tests/scripts/components-configuration-platform.sh @@ -107,18 +107,5 @@ component_test_no_64bit_multiplication () { make test } -component_test_no_strings () { - msg "build: no strings" # ~10s - scripts/config.py full - # Disable options that activate a large amount of string constants. - scripts/config.py unset MBEDTLS_DEBUG_C - scripts/config.py unset MBEDTLS_ERROR_C - scripts/config.py set MBEDTLS_ERROR_STRERROR_DUMMY - scripts/config.py unset MBEDTLS_VERSION_FEATURES - make CFLAGS='-Werror -Os' - - msg "test: no strings" # ~ 10s - make test -} diff --git a/tests/scripts/components-configuration.sh b/tests/scripts/components-configuration.sh index c2e61ed83e..282c39e200 100644 --- a/tests/scripts/components-configuration.sh +++ b/tests/scripts/components-configuration.sh @@ -332,3 +332,16 @@ component_build_mbedtls_config_file () { rm -f user_config.h full_config.h } +component_test_no_strings () { + msg "build: no strings" # ~10s + scripts/config.py full + # Disable options that activate a large amount of string constants. + scripts/config.py unset MBEDTLS_DEBUG_C + scripts/config.py unset MBEDTLS_ERROR_C + scripts/config.py set MBEDTLS_ERROR_STRERROR_DUMMY + scripts/config.py unset MBEDTLS_VERSION_FEATURES + make CFLAGS='-Werror -Os' + + msg "test: no strings" # ~ 10s + make test +} \ No newline at end of file