all.sh: Add test for MBEDTLS_X509_REMOVE_INFO

Add a test scenario that runs make/make test with
MBEDTLS_X509_REMOVE_INFO enabled.
This commit is contained in:
Peter Kolbus 2019-01-29 17:42:02 -06:00 committed by Hanno Becker
parent 4a156fc854
commit b1cb0bde72

View File

@ -1074,6 +1074,20 @@ component_build_tinycrypt_make () {
make CC=gcc CFLAGS='-Werror -O1'
}
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, make" # ~ 10s
scripts/config.pl full