]> jfr.im git - solanum.git/blame - tests/Makefile.am
Update news
[solanum.git] / tests / Makefile.am
CommitLineData
05a16d98 1check_PROGRAMS = runtests \
17ea8880 2 msgbuf_parse1 \
108699df 3 msgbuf_unparse1 \
9ea60637 4 hostmask1 \
959dffde 5 rb_dictionary1 \
0e6b8d0a
SA
6 rb_snprintf_append1 \
7 rb_snprintf_try_append1 \
958c354c 8 sasl_abort1 \
d2b5f411 9 send1 \
e7010268 10 serv_connect1 \
17ea8880 11 substitution1
8fe5ef5a
SA
12AM_CFLAGS=$(WARNFLAGS)
13AM_CPPFLAGS = $(DEFAULT_INCLUDES) -I../librb/include -I..
14AM_LDFLAGS = -no-install
e7010268 15LDADD = tap/libtap.a ../librb/src/librb.la ../ircd/libircd.la -ldl
8fe5ef5a
SA
16
17# Override -rpath or programs will be linked to installed libraries
18libdir=$(abs_top_builddir)
19
20runtests_CPPFLAGS = -DC_TAP_SOURCE='"$(abs_top_srcdir)/tests"' \
21 -DC_TAP_BUILD='"$(abs_top_builddir)/tests"'
22check_LIBRARIES = tap/libtap.a
23tap_libtap_a_SOURCES = tap/basic.c tap/basic.h \
24 tap/float.c tap/float.h tap/macros.h
25
05a16d98 26msgbuf_parse1_SOURCES = msgbuf_parse1.c
108699df 27msgbuf_unparse1_SOURCES = msgbuf_unparse1.c
9ea60637 28hostmask1_SOURCES = hostmask1.c
959dffde 29rb_dictionary1_SOURCES = rb_dictionary1.c
0e6b8d0a
SA
30rb_snprintf_append1_SOURCES = rb_snprintf_append1.c
31rb_snprintf_try_append1_SOURCES = rb_snprintf_try_append1.c
958c354c 32sasl_abort1_SOURCES = sasl_abort1.c ircd_util.c client_util.c
d2b5f411 33send1_SOURCES = send1.c ircd_util.c client_util.c
e7010268 34serv_connect1_SOURCES = serv_connect1.c ircd_util.c client_util.c
17ea8880 35substitution1_SOURCES = substitution1.c
05a16d98 36
d2b5f411
SA
37check-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)) \
ac0ae805 43 $(patsubst ../modules/core/%.c,../modules/core/.libs/%.so,$(wildcard ../modules/core/*.c))
d2b5f411 44
30725c43 45 ASAN_OPTIONS="${ASAN_OPTIONS}:detect_leaks=false" ./runtests -l $(abs_top_srcdir)/tests/TESTS