mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-02 05:04:22 +01:00
Add additional i386 tests to all.sh
Added an additional i386 test to all.sh, to allow one test with -O0 which compiles out inline assembly, and one to test with -01 which includes the inline assembly.
This commit is contained in:
parent
7a6da6ed5e
commit
8e6a22ac3d
@ -750,13 +750,24 @@ if uname -a | grep -F Linux >/dev/null; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if uname -a | grep -F x86_64 >/dev/null; then
|
if uname -a | grep -F x86_64 >/dev/null; then
|
||||||
msg "build: i386, make, gcc (ASan build)" # ~ 30s
|
# Build once with -O0, to compile out the i386 specific inline assembly
|
||||||
|
msg "build: i386, make, gcc -O0 (ASan build)" # ~ 30s
|
||||||
cleanup
|
cleanup
|
||||||
cp "$CONFIG_H" "$CONFIG_BAK"
|
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||||
scripts/config.pl full
|
scripts/config.pl full
|
||||||
make CC=gcc CFLAGS='-Werror -Wall -Wextra -m32 -fsanitize=address'
|
make CC=gcc CFLAGS='-O0 -Werror -Wall -Wextra -m32 -fsanitize=address'
|
||||||
|
|
||||||
msg "test: i386, make, gcc (ASan build)"
|
msg "test: i386, make, gcc -O0 (ASan build)"
|
||||||
|
make test
|
||||||
|
|
||||||
|
# Build again with -O1, to compile in the i386 specific inline assembly
|
||||||
|
msg "build: i386, make, gcc -O1 (ASan build)" # ~ 30s
|
||||||
|
cleanup
|
||||||
|
cp "$CONFIG_H" "$CONFIG_BAK"
|
||||||
|
scripts/config.pl full
|
||||||
|
make CC=gcc CFLAGS='-O1 -Werror -Wall -Wextra -m32 -fsanitize=address'
|
||||||
|
|
||||||
|
msg "test: i386, make, gcc -O1 (ASan build)"
|
||||||
make test
|
make test
|
||||||
|
|
||||||
msg "build: 64-bit ILP32, make, gcc" # ~ 30s
|
msg "build: 64-bit ILP32, make, gcc" # ~ 30s
|
||||||
|
Loading…
Reference in New Issue
Block a user