From: Remi Gacogne Date: Fri, 15 Apr 2016 13:51:38 +0000 (+0200) Subject: dnsdist: Make check should run testrunner X-Git-Tag: dnsdist-1.0.0~18^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3c2ea9e5167b92f73e28e289862fc9ce1d048472;p=pdns dnsdist: Make check should run testrunner Thanks @rubenk ! --- diff --git a/pdns/dnsdistdist/Makefile.am b/pdns/dnsdistdist/Makefile.am index 8fe289a08..e8a8ab581 100644 --- a/pdns/dnsdistdist/Makefile.am +++ b/pdns/dnsdistdist/Makefile.am @@ -46,6 +46,12 @@ bin_PROGRAMS = dnsdist if UNIT_TESTS noinst_PROGRAMS = testrunner +TESTS_ENVIRONMENT = env BOOST_TEST_LOG_LEVEL=message SRCDIR='$(srcdir)' +TESTS=testrunner +else +check-local: + @echo "Unit tests are not enabled" + @echo "Run ./configure --enable-unit-tests" endif dnsdist-web.$(OBJEXT): htmlfiles.h