tests: autogenerate TESTS
This commit is contained in:
parent
c4f463c9ad
commit
4eeaf9473e
2 changed files with 6 additions and 12 deletions
|
@ -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 \
|
||||||
|
|
12
tests/TESTS
12
tests/TESTS
|
@ -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
|
|
Loading…
Reference in a new issue