test: add scan-build compilation test
This commit is contained in:
parent
6aac72fd80
commit
a75d2db75b
1 changed files with 14 additions and 0 deletions
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
|
Loading…
Reference in a new issue