mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 22:24:16 +01:00
Expand i386 all.sh tests to full config ASan builds
The i386 test builds were only building the default configuration and had no address sanitisation. This commit expands the test configuration to the full configuration in all.sh and builds with ASan for when the test suites are executed.
This commit is contained in:
parent
c098ec3af6
commit
f218c0c5cf
@ -597,15 +597,19 @@ if uname -a | grep -F Linux >/dev/null; then
|
||||
fi
|
||||
|
||||
if uname -a | grep -F x86_64 >/dev/null; then
|
||||
msg "build: i386, make, gcc" # ~ 30s
|
||||
msg "build: i386, make, gcc (ASan build)" # ~ 30s
|
||||
cleanup
|
||||
make CC=gcc CFLAGS='-Werror -m32'
|
||||
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||
scripts/config.pl full
|
||||
make CC=gcc CFLAGS='-Werror -Wall -Wextra -m32 -fsanitize=address'
|
||||
|
||||
msg "test: i386, make, gcc"
|
||||
msg "test: i386, make, gcc (ASan build)"
|
||||
make test
|
||||
|
||||
msg "build: 64-bit ILP32, make, gcc" # ~ 30s
|
||||
cleanup
|
||||
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||
scripts/config.pl full
|
||||
make CC=gcc CFLAGS='-Werror -Wall -Wextra -mx32'
|
||||
|
||||
msg "test: 64-bit ILP32, make, gcc"
|
||||
|
Loading…
Reference in New Issue
Block a user