Add gdb zeroize test when compiling with clang

This commit is contained in:
Andres Amaya Garcia
2018-04-17 09:17:38 -05:00
committed by Andres Amaya Garcia
parent f2d17929c0
commit d0d7bf614e
+10
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
################################################################