tests: autogenerate TESTS

This commit is contained in:
Ed Kellett 2020-11-08 14:30:36 +00:00
parent c4f463c9ad
commit 4eeaf9473e
2 changed files with 6 additions and 12 deletions

View file

@ -16,6 +16,8 @@ AM_CPPFLAGS = $(DEFAULT_INCLUDES) -I../librb/include -I..
AM_LDFLAGS = -no-install AM_LDFLAGS = -no-install
LDADD = libutil.a tap/libtap.a ../librb/src/librb.la ../ircd/libircd.la -ldl LDADD = libutil.a tap/libtap.a ../librb/src/librb.la ../ircd/libircd.la -ldl
CLEANFILES = TESTS
# Override -rpath or programs will be linked to installed libraries # Override -rpath or programs will be linked to installed libraries
libdir=$(abs_top_builddir) libdir=$(abs_top_builddir)
@ -26,7 +28,11 @@ tap_libtap_a_SOURCES = tap/basic.c tap/basic.h \
tap/float.c tap/float.h tap/macros.h tap/float.c tap/float.h tap/macros.h
libutil_a_SOURCES = ircd_util.c client_util.c libutil_a_SOURCES = ircd_util.c client_util.c
TESTS: Makefile
printf '%s\n' $(check_PROGRAMS) | sed '/^runtests$$/d' > TESTS
check-local: $(check_PROGRAMS) \ check-local: $(check_PROGRAMS) \
TESTS \
../authd/authd \ ../authd/authd \
../bandb/bandb \ ../bandb/bandb \
../ssld/ssld \ ../ssld/ssld \

View file

@ -1,12 +0,0 @@
chmode1
match1
msgbuf_parse1
msgbuf_unparse1
hostmask1
rb_dictionary1
rb_snprintf_append1
rb_snprintf_try_append1
sasl_abort1
send1
serv_connect1
substitution1