From: Pieter Lexis Date: Fri, 10 Jun 2016 10:58:52 +0000 (+0200) Subject: Disable unittest on a too old boost X-Git-Tag: auth-4.0.0-rc1~51^2^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3977%2Fhead;p=thirdparty%2Fpdns.git Disable unittest on a too old boost --- diff --git a/pdns/Makefile.am b/pdns/Makefile.am index 1ade72c650..8292033967 100644 --- a/pdns/Makefile.am +++ b/pdns/Makefile.am @@ -1180,8 +1180,15 @@ pdns_control_SOURCES = \ dnslabeltext.cc if UNIT_TESTS + +if HAVE_BOOST_GE_148 TESTS_ENVIRONMENT = env BOOST_TEST_LOG_LEVEL=message SRCDIR='$(srcdir)' TESTS=testrunner +else +check-local: + @echo "Unit tests disabled, boost is too old" +endif + else check-local: @echo "Unit tests are not enabled"