test: update compilation tests
This commit is contained in:
parent
17a9caf5c8
commit
87df268723
2 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,7 @@ for opts in \
|
|||
"--without-nettle" \
|
||||
"--without-nettle --without-nss" \
|
||||
"--without-nettle --without-nss --without-tomcrypt"
|
||||
"--without-nettle --without-nss --without-tomcrypt --without-gnutls"
|
||||
do
|
||||
./configure $opts
|
||||
scan-build make "$@" || exit 1
|
||||
|
|
|
@ -37,7 +37,8 @@ for CC in gcc clang; do
|
|||
"--without-gnutls" \
|
||||
"--without-nettle" \
|
||||
"--without-nettle --without-nss" \
|
||||
"--without-nettle --without-nss --without-tomcrypt"; \
|
||||
"--without-nettle --without-nss --without-tomcrypt" \
|
||||
"--without-nettle --without-nss --without-tomcrypt --without-gnutls"; \
|
||||
do
|
||||
for san_options in "" "-fsanitize=address" "-fsanitize=memory"; do
|
||||
export CFLAGS="-O2 -g -fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize-recover=undefined,float-divide-by-zero $san_options $arch_opts"
|
||||
|
|
Loading…
Reference in a new issue