From a75d2db75b02b0c2e7dceb2f9795366910572f25 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 8 Dec 2016 12:13:34 +0100 Subject: [PATCH] test: add scan-build compilation test --- test/compilation/002-scanbuild | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 test/compilation/002-scanbuild diff --git a/test/compilation/002-scanbuild b/test/compilation/002-scanbuild new file mode 100755 index 0000000..085cc65 --- /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