From 855aacc389e1c8999bf70028ae9c4cb9c4ac0e33 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 10 Jun 2016 12:58:52 +0200 Subject: [PATCH] Disable unittest on a too old boost --- pdns/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pdns/Makefile.am b/pdns/Makefile.am index 1ade72c65..829203396 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" -- 2.40.0