This adds a unit test driver for BIND with Automake. It runs the unit test program provided as its sole command line argument and then looks for a core dump generated by that test program. If one is found, the driver prints the backtrace into the test log.
20 lines
316 B
Makefile
20 lines
316 B
Makefile
include $(top_srcdir)/Makefile.top
|
|
include $(top_srcdir)/Makefile.tests
|
|
|
|
AM_CPPFLAGS += \
|
|
$(LIBISC_CFLAGS) \
|
|
$(LIBISCCC_CFLAGS)
|
|
|
|
LDADD += \
|
|
$(LIBISC_LIBS) \
|
|
$(LIBISCCC_LIBS)
|
|
|
|
check_PROGRAMS = \
|
|
result_test
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
unit-local: check
|
|
|
|
LOG_COMPILER = $(builddir)/../../unit-test-driver.sh
|