test: add scan-build compilation test

This commit is contained in:
Miroslav Lichvar 2016-12-08 12:13:34 +01:00
parent 6aac72fd80
commit a75d2db75b

14
test/compilation/002-scanbuild Executable file
View 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