mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 08:45:06 -05:00
test: update compilation tests
This commit is contained in:
@@ -9,6 +9,7 @@ for opts in \
|
|||||||
"--without-nettle" \
|
"--without-nettle" \
|
||||||
"--without-nettle --without-nss" \
|
"--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
|
do
|
||||||
./configure $opts
|
./configure $opts
|
||||||
scan-build make "$@" || exit 1
|
scan-build make "$@" || exit 1
|
||||||
|
|||||||
@@ -37,7 +37,8 @@ for CC in gcc clang; do
|
|||||||
"--without-gnutls" \
|
"--without-gnutls" \
|
||||||
"--without-nettle" \
|
"--without-nettle" \
|
||||||
"--without-nettle --without-nss" \
|
"--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
|
do
|
||||||
for san_options in "" "-fsanitize=address" "-fsanitize=memory"; 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"
|
export CFLAGS="-O2 -g -fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize-recover=undefined,float-divide-by-zero $san_options $arch_opts"
|
||||||
|
|||||||
Reference in New Issue
Block a user