]> granicus.if.org Git - pdns/commitdiff
Disable unittest on a too old boost
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 10 Jun 2016 10:58:52 +0000 (12:58 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 10 Jun 2016 14:47:50 +0000 (16:47 +0200)
pdns/Makefile.am

index 1ade72c65067bc3b7fac8069f8ccabe4061bd512..82920339670daa6bb9d800adc97319e61737ef11 100644 (file)
@@ -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"