mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-06-24 22:29:04 +08:00
all.sh/components: Moved component_test_no_strings -> configuration.
Signed-off-by: Minos Galanakis <minos.galanakis@arm.com>
This commit is contained in:
parent
b5891d5dec
commit
1c26ef555c
@ -107,18 +107,5 @@ component_test_no_64bit_multiplication () {
|
|||||||
make test
|
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
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -332,3 +332,16 @@ component_build_mbedtls_config_file () {
|
|||||||
rm -f user_config.h full_config.h
|
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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user