$(LIBISC_LIBS)
if HAVE_PERL
+if HAVE_PYTHON
+if HAVE_PYTEST
noinst_PROGRAMS = \
feature-test \
catz \
cds \
checkconf \
+ checkds \
checknames \
checkzone \
database \
dialup \
+ dispatch \
dlzexternal \
dns64 \
dsdigest \
hooks \
host \
journal \
+ kasp \
keepalive \
keyfromlabel \
+ keymgr2kasp \
legacy \
limits \
logfileconfig \
nslookup \
padding \
pending \
+ pipelined \
redirect \
rndc \
rootkeysentinel \
rpz \
+ rpzextra \
rrchecker \
rrl \
rrsetorder \
rsabigexponent \
runtime \
sfcache \
+ shutdown \
smartsign \
sortlist \
spf \
staticstub \
stub \
synthfromdnssec \
+ tcp \
+ timeouts \
tkey \
tools \
transport-acl \
endif HAVE_PERLMOD_NET_DNS
-if HAVE_PYTHON
-TESTS += kasp keymgr2kasp tcp pipelined
-
-if HAVE_PYTEST
-TESTS += checkds dispatch rpzextra shutdown timeouts
-endif
-
if HAVE_PYMOD_DNS
TESTS += qmin cookie
if HAVE_PERLMOD_NET_DNS
endif HAVE_PERLMOD_NET_DNS
endif HAVE_PYMOD_DNS
-endif HAVE_PYTHON
-
+else !HAVE_PYTEST
+check:
+ echo pytest is not available, no tests were ran
+ exit 1
+endif !HAVE_PYTEST
+else !HAVE_PYTHON
+check:
+ echo Python is not available, no tests were ran
+ exit 1
+endif !HAVE_PYTHON
else !HAVE_PERL
check:
echo Perl is not available, no tests were ran
LOG_DRIVER = $(srcdir)/custom-test-driver
AM_LOG_DRIVER_FLAGS = $(LOG_DRIVER_V)
-LOG_COMPILER = $(builddir)/legacy.run.sh
-AM_LOG_FLAGS = -r
-
-$(TESTS): legacy.run.sh
+LOG_COMPILER = $(srcdir)/run.sh
test-local: check