Add missing MBEDTLS_X509_REMOVE_INFO guards to ssl-opt.sh

Signed-off-by: Hanno Becker <hanno.becker@arm.com>
Signed-off-by: Chris Jones <christopher.jones@arm.com>
This commit is contained in:
Hanno Becker 2020-10-09 11:10:42 +01:00 committed by Chris Jones
parent 7ac83f91bf
commit c5722d1fb1
2 changed files with 28 additions and 0 deletions

View file

@ -2410,6 +2410,7 @@ component_test_no_64bit_multiplication () {
make test
}
<<<<<<< HEAD
component_test_no_strings () {
msg "build: no strings" # ~10s
scripts/config.py full
@ -2424,6 +2425,20 @@ component_test_no_strings () {
make test
}
component_test_no_x509_info () {
msg "build: full + MBEDTLS_X509_REMOVE_INFO" # ~ 10s
scripts/config.pl full
scripts/config.pl unset MBEDTLS_MEMORY_BACKTRACE # too slow for tests
scripts/config.pl set MBEDTLS_X509_REMOVE_INFO
make CFLAGS='-Werror -O1'
msg "test: full + MBEDTLS_X509_REMOVE_INFO" # ~ 10s
make test
msg "test: ssl-opt.sh, full + MBEDTLS_X509_REMOVE_INFO" # ~ 1 min
if_build_succeeded tests/ssl-opt.sh
}
component_build_arm_none_eabi_gcc () {
msg "build: ${ARM_NONE_EABI_GCC_PREFIX}gcc -O1" # ~ 10s
scripts/config.py baremetal