mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-07-30 16:26:33 +08:00
Add test that the DEBUG_C symbol has not been re-enabled
Signed-off-by: Ben Taylor <ben.taylor@linaro.org>
This commit is contained in:
parent
768f1c48f0
commit
a4267335b7
@ -272,16 +272,18 @@ component_build_no_ssl_srv () {
|
||||
msg "build: full config except SSL server, make, gcc" # ~ 30s
|
||||
scripts/config.py full
|
||||
scripts/config.py unset MBEDTLS_SSL_SRV_C
|
||||
scripts/config.py unset DEBUG_C
|
||||
scripts/config.py unset MBEDTLS_DEBUG_C
|
||||
$MAKE_COMMAND CC=gcc CFLAGS='-Werror -Wall -Wextra -O1 -Wmissing-prototypes'
|
||||
! nm library/libmbedtls.a | sed 's/.* //' | grep -x -F mbedtls_debug_print_buf
|
||||
}
|
||||
|
||||
component_build_no_ssl_cli () {
|
||||
msg "build: full config except SSL client, make, gcc" # ~ 30s
|
||||
scripts/config.py full
|
||||
scripts/config.py unset MBEDTLS_SSL_CLI_C
|
||||
scripts/config.py unset DEBUG_C
|
||||
scripts/config.py unset MBEDTLS_DEBUG_C
|
||||
$MAKE_COMMAND CC=gcc CFLAGS='-Werror -Wall -Wextra -O1 -Wmissing-prototypes'
|
||||
! nm library/libmbedtls.a | sed 's/.* //' | grep -x -F mbedtls_debug_print_buf
|
||||
}
|
||||
|
||||
component_test_no_max_fragment_length () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user