mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 22:05:42 +01:00
Add ASan build-and-test run for MBEDTLS_RSA_NO_CRT in all.sh
This commit is contained in:
parent
7c0f17d115
commit
d5ba5effaa
@ -326,6 +326,22 @@ OPENSSL_CMD="$OPENSSL_LEGACY" tests/compat.sh -m 'ssl3'
|
|||||||
msg "build: SSLv3 - ssl-opt.sh (ASan build)" # ~ 6 min
|
msg "build: SSLv3 - ssl-opt.sh (ASan build)" # ~ 6 min
|
||||||
tests/ssl-opt.sh
|
tests/ssl-opt.sh
|
||||||
|
|
||||||
|
msg "build: Default + RSA_NO_CRT (ASan build)" # ~ 6 min
|
||||||
|
cleanup
|
||||||
|
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||||
|
scripts/config.pl set MBEDTLS_RSA_NO_CRT
|
||||||
|
CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .
|
||||||
|
make
|
||||||
|
|
||||||
|
msg "test: RSA_NO_CRT - main suites (inc. selftests) (ASan build)" # ~ 50s
|
||||||
|
make test
|
||||||
|
|
||||||
|
msg "test: RSA_NO_CRT - RSA-related part of ssl-opt.sh (ASan build)" # ~ 5s
|
||||||
|
tests/ssl-opt.sh -f RSA
|
||||||
|
|
||||||
|
msg "test: RSA_NO_CRT - RSA-related part of compat.sh (ASan build)" # ~ 3 min
|
||||||
|
tests/compat.sh -t RSA
|
||||||
|
|
||||||
msg "build: cmake, full config, clang, C99" # ~ 50s
|
msg "build: cmake, full config, clang, C99" # ~ 50s
|
||||||
cleanup
|
cleanup
|
||||||
cp "$CONFIG_H" "$CONFIG_BAK"
|
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||||
@ -572,4 +588,3 @@ rm -rf "$OUT_OF_SOURCE_DIR"
|
|||||||
|
|
||||||
msg "Done, cleaning up"
|
msg "Done, cleaning up"
|
||||||
cleanup
|
cleanup
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user