mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-24 10:21:10 -05:00
This change adds a number of support routines for the unit tests, and for benchmarks and fuzz tests to be added later. It isn't necessary to include the support routines in libdns, since they are not needed by BIND's installed programs. So `libtest` seems like the best place for them. The tests themselves verify that dns_qpkey_fromname() behaves as expected.
32 lines
610 B
Makefile
32 lines
610 B
Makefile
include $(top_srcdir)/Makefile.top
|
|
|
|
SUBDIRS = . lib doc
|
|
|
|
# build libtest before fuzz/* and bin/tests
|
|
if HAVE_CMOCKA
|
|
SUBDIRS += tests
|
|
endif HAVE_CMOCKA
|
|
|
|
# run fuzz tests before system tests
|
|
SUBDIRS += fuzz bin
|
|
|
|
BUILT_SOURCES = bind.keys.h
|
|
CLEANFILES = bind.keys.h
|
|
|
|
bind.keys.h: bind.keys Makefile
|
|
${PERL} ${top_srcdir}/util/bindkeys.pl ${top_srcdir}/bind.keys > $@
|
|
|
|
.PHONY: doc
|
|
|
|
EXTRA_DIST = \
|
|
bind.keys \
|
|
util/bindkeys.pl \
|
|
contrib \
|
|
CHANGES \
|
|
COPYRIGHT \
|
|
LICENSE \
|
|
*.md
|
|
|
|
dist-hook:
|
|
find $(distdir) -type f -name .gitignore -delete
|
|
git rev-parse --short HEAD | cut -b1-7 > $(distdir)/srcid
|