From: Miroslav Lichvar Date: Thu, 8 Dec 2016 11:13:34 +0000 (+0100) Subject: test: add scan-build compilation test X-Git-Tag: 3.0-pre1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a75d2db75b02b0c2e7dceb2f9795366910572f25;p=thirdparty%2Fchrony.git test: add scan-build compilation test --- diff --git a/test/compilation/002-scanbuild b/test/compilation/002-scanbuild new file mode 100755 index 00000000..085cc65f --- /dev/null +++ b/test/compilation/002-scanbuild @@ -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