Add gdb zeroize test when compiling with clang

This commit is contained in:
Andres Amaya Garcia 2017-10-25 09:01:31 +01:00 committed by Andres Amaya Garcia
parent f2d17929c0
commit d0d7bf614e

View File

@ -907,6 +907,16 @@ make test
cd "$MBEDTLS_ROOT_DIR"
rm -rf "$OUT_OF_SOURCE_DIR"
msg "test: gcc, mbedtls_zeroize()"
cleanup
CC=gcc DEBUG=1 make programs
gdb -x tests/scripts/test_zeroize.gdb
msg "test: clang, mbedtls_zeroize()"
cleanup
CC=clang DEBUG=1 make programs
gdb -x tests/scripts/test_zeroize.gdb
################################################################