From 3c2ea9e5167b92f73e28e289862fc9ce1d048472 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 15 Apr 2016 15:51:38 +0200 Subject: [PATCH] dnsdist: Make check should run testrunner Thanks @rubenk ! --- pdns/dnsdistdist/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.40.0