mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 06:35:06 -05:00
test: add scan-build compilation test
This commit is contained in:
14
test/compilation/002-scanbuild
Executable file
14
test/compilation/002-scanbuild
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd ../..
|
||||
|
||||
for opts in \
|
||||
"--host-system=Linux" \
|
||||
"--host-system=NetBSD" \
|
||||
"--host-system=FreeBSD" \
|
||||
"--without-nss" \
|
||||
"--without-tomcrypt --without-nss"
|
||||
do
|
||||
./configure $opts
|
||||
scan-build make "$@" || exit 1
|
||||
done
|
||||
Reference in New Issue
Block a user