]> jfr.im git - solanum.git/blob - tests/Makefile.am
Combine stats A output parameters (#35)
[solanum.git] / tests / Makefile.am
1 check_PROGRAMS = runtests \
2 msgbuf_parse1 \
3 msgbuf_unparse1 \
4 hostmask1 \
5 rb_dictionary1 \
6 rb_snprintf_append1 \
7 rb_snprintf_try_append1 \
8 sasl_abort1 \
9 send1 \
10 serv_connect1 \
11 substitution1
12 AM_CFLAGS=$(WARNFLAGS)
13 AM_CPPFLAGS = $(DEFAULT_INCLUDES) -I../librb/include -I..
14 AM_LDFLAGS = -no-install
15 LDADD = tap/libtap.a ../librb/src/librb.la ../ircd/libircd.la -ldl
16
17 # Override -rpath or programs will be linked to installed libraries
18 libdir=$(abs_top_builddir)
19
20 runtests_CPPFLAGS = -DC_TAP_SOURCE='"$(abs_top_srcdir)/tests"' \
21 -DC_TAP_BUILD='"$(abs_top_builddir)/tests"'
22 check_LIBRARIES = tap/libtap.a
23 tap_libtap_a_SOURCES = tap/basic.c tap/basic.h \
24 tap/float.c tap/float.h tap/macros.h
25
26 msgbuf_parse1_SOURCES = msgbuf_parse1.c
27 msgbuf_unparse1_SOURCES = msgbuf_unparse1.c
28 hostmask1_SOURCES = hostmask1.c
29 rb_dictionary1_SOURCES = rb_dictionary1.c
30 rb_snprintf_append1_SOURCES = rb_snprintf_append1.c
31 rb_snprintf_try_append1_SOURCES = rb_snprintf_try_append1.c
32 sasl_abort1_SOURCES = sasl_abort1.c ircd_util.c client_util.c
33 send1_SOURCES = send1.c ircd_util.c client_util.c
34 serv_connect1_SOURCES = serv_connect1.c ircd_util.c client_util.c
35 substitution1_SOURCES = substitution1.c
36
37 check-local: $(check_PROGRAMS) \
38 ../authd/authd \
39 ../bandb/bandb \
40 ../ssld/ssld \
41 ../wsockd/wsockd \
42 $(patsubst ../modules/%.c,../modules/.libs/%.so,$(wildcard ../modules/*.c)) \
43 $(patsubst ../modules/core/%.c,../modules/core/.libs/%.so,$(wildcard ../modules/core/*.c))
44
45 ASAN_OPTIONS="${ASAN_OPTIONS}:detect_leaks=false" ./runtests -l $(abs_top_srcdir)/tests/TESTS