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: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3712%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Make check should run testrunner Thanks @rubenk ! --- diff --git a/pdns/dnsdistdist/Makefile.am b/pdns/dnsdistdist/Makefile.am index 8fe289a089..e8a8ab581a 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