Add test command for 64-bit ILP32 in all.sh

This commit is contained in:
Andres Amaya Garcia 2017-05-08 11:19:19 +01:00 committed by Gilles Peskine
parent 7ea67274f7
commit f4fbdda602

View File

@ -653,6 +653,16 @@ if uname -a | grep -F x86_64 >/dev/null; then
cleanup
make CC=gcc CFLAGS='-Werror -Wall -Wextra -m32'
msg "test: i386, make, gcc"
make test
msg "build: 64-bit ILP32, make, gcc" # ~ 30s
cleanup
make CC=gcc CFLAGS='-Werror -Wall -Wextra -mx32'
msg "test: 64-bit ILP32, make, gcc"
make test
msg "build: gcc, force 32-bit compilation"
cleanup
cp "$CONFIG_H" "$CONFIG_BAK"