mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-05-09 21:22:08 +00:00
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:
parent
4a156fc854
commit
b1cb0bde72
|
@ -1074,6 +1074,20 @@ component_build_tinycrypt_make () {
|
||||||
make CC=gcc CFLAGS='-Werror -O1'
|
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 () {
|
component_build_arm_none_eabi_gcc () {
|
||||||
msg "build: arm-none-eabi-gcc, make" # ~ 10s
|
msg "build: arm-none-eabi-gcc, make" # ~ 10s
|
||||||
scripts/config.pl full
|
scripts/config.pl full
|
||||||
|
|
Loading…
Reference in a new issue