Home | History | Annotate | Line # | Download | only in system
      1      1.1  christos include $(top_srcdir)/Makefile.top
      2      1.1  christos 
      3      1.1  christos EXTRA_DIST = .
      4      1.1  christos 
      5      1.1  christos # Source tarballs must not contain configure/build artifacts.
      6      1.1  christos dist-hook:
      7      1.1  christos 	git clean -n -x -d | \
      8      1.1  christos 	        grep -v "Makefile.in$$" | \
      9      1.1  christos 	        sed -n "s|^Would remove \(.*\)|$(distdir)/\1|p" | \
     10      1.1  christos 	        xargs -I{} rm -rf "{}"
     11      1.1  christos 
     12      1.1  christos SUBDIRS = dyndb/driver dlzexternal/driver hooks/driver
     13      1.1  christos 
     14  1.1.1.3  christos if DNSRPS
     15  1.1.1.3  christos SUBDIRS += rpz/testlib
     16  1.1.1.3  christos endif
     17  1.1.1.3  christos 
     18      1.1  christos AM_CPPFLAGS +=			\
     19  1.1.1.3  christos 	$(LIBISC_CFLAGS) 	\
     20  1.1.1.3  christos 	$(LIBDNS_CFLAGS)
     21      1.1  christos 
     22      1.1  christos LDADD +=			\
     23  1.1.1.3  christos 	$(LIBISC_LIBS)		\
     24  1.1.1.3  christos 	$(LIBDNS_LIBS)
     25      1.1  christos 
     26      1.1  christos if HAVE_PERL
     27      1.1  christos if HAVE_PYTHON
     28      1.1  christos if HAVE_PYTEST
     29      1.1  christos 
     30      1.1  christos noinst_PROGRAMS =		\
     31      1.1  christos 	feature-test		\
     32      1.1  christos 	makejournal		\
     33      1.1  christos 	pipelined/pipequeries	\
     34      1.1  christos 	rndc/gencheck		\
     35  1.1.1.3  christos 	rpz/dnsrps
     36      1.1  christos 
     37      1.1  christos feature_test_CPPFLAGS =		\
     38      1.1  christos 	$(AM_CPPFLAGS)		\
     39  1.1.1.3  christos 	$(LIBDNS_CFLAGS)	\
     40  1.1.1.3  christos 	$(OPENSSL_CFLAGS)
     41  1.1.1.3  christos 
     42  1.1.1.3  christos feature_test_LDADD =		\
     43  1.1.1.3  christos 	$(LDADD)		\
     44  1.1.1.3  christos 	$(LIBDNS_LIBS)		\
     45  1.1.1.3  christos 	$(OPENSSL_LIBS)
     46      1.1  christos 
     47      1.1  christos makejournal_CPPFLAGS =		\
     48      1.1  christos 	$(AM_CPPFLAGS)		\
     49      1.1  christos 	$(LIBDNS_CFLAGS)
     50      1.1  christos 
     51      1.1  christos makejournal_LDADD =		\
     52      1.1  christos 	$(LDADD)		\
     53      1.1  christos 	$(LIBDNS_LIBS)
     54      1.1  christos 
     55      1.1  christos pipelined_pipequeries_CPPFLAGS =	\
     56      1.1  christos 	$(AM_CPPFLAGS)			\
     57      1.1  christos 	$(LIBDNS_CFLAGS)
     58      1.1  christos 
     59      1.1  christos pipelined_pipequeries_LDADD =	\
     60      1.1  christos 	$(LDADD)		\
     61      1.1  christos 	$(LIBDNS_LIBS)
     62      1.1  christos 
     63      1.1  christos rpz_dnsrps_CPPFLAGS =		\
     64      1.1  christos 	$(AM_CPPFLAGS)		\
     65  1.1.1.3  christos 	$(LIBDNS_CFLAGS)	\
     66  1.1.1.3  christos 	-DLIBRPZ_LIB_OPEN=\"$(abs_builddir)/rpz/testlib/.libs/libdummyrpz.so\"
     67      1.1  christos 
     68      1.1  christos rpz_dnsrps_LDADD =		\
     69      1.1  christos 	$(LDADD)		\
     70  1.1.1.3  christos 	$(LIBDNS_LIBS)		\
     71  1.1.1.3  christos 	$(DLOPEN_LIBS)
     72      1.1  christos 
     73      1.1  christos # Longer running tests are listed (and executed) first to take the most
     74      1.1  christos # advantage of parallel execution.
     75      1.1  christos TESTS =				\
     76      1.1  christos 	rpz			\
     77      1.1  christos 	rpzrecurse		\
     78  1.1.1.7  christos 	serve_stale		\
     79      1.1  christos 	timeouts		\
     80      1.1  christos 	upforwd			\
     81      1.1  christos 	acl			\
     82      1.1  christos 	additional		\
     83      1.1  christos 	addzone			\
     84  1.1.1.7  christos 	allow_query		\
     85      1.1  christos 	auth			\
     86      1.1  christos 	autosign		\
     87      1.1  christos 	builtin			\
     88      1.1  christos 	cacheclean		\
     89  1.1.1.4  christos 	camp			\
     90      1.1  christos 	case			\
     91      1.1  christos 	catz			\
     92      1.1  christos 	cds			\
     93      1.1  christos 	chain			\
     94      1.1  christos 	checkconf		\
     95      1.1  christos 	checkds			\
     96      1.1  christos 	checknames		\
     97      1.1  christos 	checkzone		\
     98      1.1  christos 	cookie			\
     99  1.1.1.2  christos 	cpu			\
    100      1.1  christos 	database		\
    101      1.1  christos 	dialup			\
    102      1.1  christos 	digdelv			\
    103      1.1  christos 	dispatch		\
    104      1.1  christos 	dlzexternal		\
    105      1.1  christos 	dns64			\
    106      1.1  christos 	dnssec			\
    107      1.1  christos 	dnstap			\
    108      1.1  christos 	doth			\
    109      1.1  christos 	dsdigest		\
    110      1.1  christos 	dyndb			\
    111      1.1  christos 	ecdsa			\
    112      1.1  christos 	eddsa			\
    113      1.1  christos 	ednscompliance		\
    114      1.1  christos 	emptyzones		\
    115      1.1  christos 	enginepkcs11		\
    116  1.1.1.6  christos 	filters			\
    117      1.1  christos 	fetchlimit		\
    118      1.1  christos 	formerr			\
    119      1.1  christos 	forward			\
    120      1.1  christos 	geoip2			\
    121      1.1  christos 	glue			\
    122      1.1  christos 	idna			\
    123  1.1.1.7  christos 	include_multiplecfg	\
    124      1.1  christos 	inline			\
    125      1.1  christos 	integrity		\
    126      1.1  christos 	ixfr			\
    127      1.1  christos 	hooks			\
    128      1.1  christos 	host			\
    129      1.1  christos 	journal			\
    130      1.1  christos 	kasp			\
    131      1.1  christos 	keepalive		\
    132      1.1  christos 	keyfromlabel		\
    133  1.1.1.3  christos 	ksr			\
    134      1.1  christos 	legacy			\
    135      1.1  christos 	limits			\
    136      1.1  christos 	logfileconfig		\
    137      1.1  christos 	masterfile		\
    138      1.1  christos 	masterformat		\
    139      1.1  christos 	metadata		\
    140      1.1  christos 	mirror			\
    141      1.1  christos 	mkeys			\
    142  1.1.1.3  christos 	multisigner		\
    143      1.1  christos 	names			\
    144      1.1  christos 	notify			\
    145      1.1  christos 	nsec3			\
    146      1.1  christos 	nslookup		\
    147      1.1  christos 	nsupdate		\
    148      1.1  christos 	nzd2nzf			\
    149      1.1  christos 	padding			\
    150      1.1  christos 	pending			\
    151  1.1.1.3  christos 	proxy			\
    152      1.1  christos 	pipelined		\
    153      1.1  christos 	qmin			\
    154  1.1.1.7  christos 	query_source		\
    155      1.1  christos 	reclimit		\
    156      1.1  christos 	redirect		\
    157      1.1  christos 	resolver		\
    158      1.1  christos 	rndc			\
    159  1.1.1.5  christos 	rollover		\
    160  1.1.1.7  christos 	rollover_algo_csk	\
    161  1.1.1.7  christos 	rollover_algo_ksk_zsk	\
    162  1.1.1.7  christos 	rollover_csk_roll1	\
    163  1.1.1.7  christos 	rollover_csk_roll2	\
    164  1.1.1.7  christos 	rollover_dynamic2inline	\
    165  1.1.1.7  christos 	rollover_enable_dnssec	\
    166  1.1.1.7  christos 	rollover_going_insecure	\
    167  1.1.1.7  christos 	rollover_ksk_3crowd	\
    168  1.1.1.7  christos 	rollover_ksk_doubleksk	\
    169  1.1.1.7  christos 	rollover_lifetime	\
    170  1.1.1.7  christos 	rollover_multisigner	\
    171  1.1.1.7  christos 	rollover_straight2none	\
    172  1.1.1.7  christos 	rollover_zsk_prepub	\
    173      1.1  christos 	rootkeysentinel		\
    174      1.1  christos 	rpzextra		\
    175      1.1  christos 	rrchecker		\
    176      1.1  christos 	rrl			\
    177      1.1  christos 	rrsetorder		\
    178      1.1  christos 	rsabigexponent		\
    179      1.1  christos 	runtime			\
    180      1.1  christos 	sfcache			\
    181      1.1  christos 	shutdown		\
    182      1.1  christos 	smartsign		\
    183      1.1  christos 	sortlist		\
    184      1.1  christos 	spf			\
    185      1.1  christos 	staticstub		\
    186      1.1  christos 	statistics		\
    187      1.1  christos 	statschannel		\
    188      1.1  christos 	stress			\
    189      1.1  christos 	stub			\
    190      1.1  christos 	synthfromdnssec		\
    191      1.1  christos 	tcp			\
    192      1.1  christos 	tools			\
    193  1.1.1.7  christos 	transport_acl		\
    194      1.1  christos 	tsig			\
    195      1.1  christos 	tsiggss			\
    196      1.1  christos 	ttl			\
    197      1.1  christos 	unknown			\
    198      1.1  christos 	verify			\
    199      1.1  christos 	views			\
    200      1.1  christos 	wildcard		\
    201      1.1  christos 	xfer			\
    202      1.1  christos 	xferquota		\
    203      1.1  christos 	zero			\
    204      1.1  christos 	zonechecks
    205      1.1  christos 
    206      1.1  christos else !HAVE_PYTEST
    207      1.1  christos check:
    208      1.1  christos 	echo pytest is not available, no tests were ran
    209      1.1  christos 	exit 1
    210      1.1  christos endif !HAVE_PYTEST
    211      1.1  christos else !HAVE_PYTHON
    212      1.1  christos check:
    213      1.1  christos 	echo Python is not available, no tests were ran
    214      1.1  christos 	exit 1
    215      1.1  christos endif !HAVE_PYTHON
    216      1.1  christos else !HAVE_PERL
    217      1.1  christos check:
    218      1.1  christos 	echo Perl is not available, no tests were ran
    219      1.1  christos 	exit 1
    220      1.1  christos endif !HAVE_PERL
    221      1.1  christos 
    222      1.1  christos LOG_DRIVER_V = $(LOG_DRIVER_V_@AM_V@)
    223      1.1  christos LOG_DRIVER_V_ = $(LOG_DRIVER_V_@AM_DEFAULT_V@)
    224      1.1  christos LOG_DRIVER_V_0 = --verbose no
    225      1.1  christos LOG_DRIVER_V_1 = --verbose yes
    226      1.1  christos 
    227      1.1  christos LOG_DRIVER = $(srcdir)/custom-test-driver
    228      1.1  christos AM_LOG_DRIVER_FLAGS = $(LOG_DRIVER_V)
    229      1.1  christos 
    230      1.1  christos LOG_COMPILER = $(srcdir)/run.sh
    231      1.1  christos 
    232      1.1  christos test-local: check
    233      1.1  christos 
    234      1.1  christos clean-local::
    235  1.1.1.7  christos 	-find -L . -mindepth 1 -maxdepth 1 -type d -name "*-*" -exec rm -rf {} \;
    236