mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 08:55:40 +01:00
Fix to stop all.sh corrupting config.h
The test script all.sh was persisting the SSL3 configuration in config.h through more tests than intended and not restoring the config the end.
This commit is contained in:
parent
4b852db299
commit
f413b6fffe
@ -133,6 +133,7 @@ tests/compat.sh
|
|||||||
|
|
||||||
msg "build: Default + SSLv3 (ASan build)" # ~ 6 min
|
msg "build: Default + SSLv3 (ASan build)" # ~ 6 min
|
||||||
cleanup
|
cleanup
|
||||||
|
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||||
scripts/config.pl set MBEDTLS_SSL_PROTO_SSL3
|
scripts/config.pl set MBEDTLS_SSL_PROTO_SSL3
|
||||||
CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .
|
CC=gcc cmake -D CMAKE_BUILD_TYPE:String=Asan .
|
||||||
make
|
make
|
||||||
@ -149,7 +150,6 @@ tests/ssl-opt.sh
|
|||||||
|
|
||||||
msg "build: cmake, full config, clang" # ~ 50s
|
msg "build: cmake, full config, clang" # ~ 50s
|
||||||
cleanup
|
cleanup
|
||||||
cp "$CONFIG_H" "$CONFIG_BAK"
|
|
||||||
scripts/config.pl full
|
scripts/config.pl full
|
||||||
scripts/config.pl unset MBEDTLS_MEMORY_BACKTRACE # too slow for tests
|
scripts/config.pl unset MBEDTLS_MEMORY_BACKTRACE # too slow for tests
|
||||||
CC=clang cmake -D CMAKE_BUILD_TYPE:String=Check .
|
CC=clang cmake -D CMAKE_BUILD_TYPE:String=Check .
|
||||||
|
Loading…
Reference in New Issue
Block a user