summaryrefslogtreecommitdiff
path: root/tests/irc/flood/Makefile.am
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2018-03-20 10:30:39 +0100
committerGitHub <noreply@github.com>2018-03-20 10:30:39 +0100
commit191e0ac84ed42b51395ff9659b4f6169a1fcb3aa (patch)
tree81aca67b527bd29514ebe880187a08b5cea2454e /tests/irc/flood/Makefile.am
parent7d99ff05cd9f15c4fbdfc54de58abdc2bc5b7778 (diff)
parent6b0e14099655bf4d94a19dff252cce89b2858c93 (diff)
downloadirssi-191e0ac84ed42b51395ff9659b4f6169a1fcb3aa.zip
Merge pull request #802 from ailin-nemui/test-796
Test for segfault on disconnect during signal processing
Diffstat (limited to 'tests/irc/flood/Makefile.am')
-rw-r--r--tests/irc/flood/Makefile.am40
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/irc/flood/Makefile.am b/tests/irc/flood/Makefile.am
new file mode 100644
index 00000000..85b52eab
--- /dev/null
+++ b/tests/irc/flood/Makefile.am
@@ -0,0 +1,40 @@
+include $(top_srcdir)/utils/glib-tap.mk
+
+PACKAGE_STRING=irc/flood
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/src \
+ -I$(top_srcdir)/src/core \
+ -DSYSCONFDIR=\""$(sysconfdir)"\" \
+ $(GLIB_CFLAGS)
+
+test_programs = \
+ test-796
+
+test_796_CPPFLAGS = \
+ -I$(top_srcdir)/src/fe-common/core \
+ -I$(top_srcdir)/src/irc/core \
+ -I$(top_srcdir)/src/irc/flood \
+ $(AM_CPPFLAGS)
+
+test_796_DEPENDENCIES = \
+ ../../../src/core/libcore.a \
+ ../../../src/lib-config/libirssi_config.a
+
+test_796_LDADD = \
+ ../../../src/irc/libirc.a \
+ ../../../src/fe-common/irc/libfe_common_irc.a \
+ ../../../src/fe-common/irc/dcc/libfe_irc_dcc.a \
+ ../../../src/fe-common/irc/notifylist/libfe_irc_notifylist.a \
+ ../../../src/irc/dcc/libirc_dcc.a \
+ ../../../src/irc/notifylist/libirc_notifylist.a \
+ ../../../src/irc/flood/libirc_flood.a \
+ ../../../src/irc/core/libirc_core.a \
+ ../../../src/fe-common/core/libfe_common_core.a \
+ ../../../src/core/libcore.a \
+ ../../../src/lib-config/libirssi_config.a \
+ @GLIB_LIBS@ \
+ @OPENSSL_LIBS@
+
+test_796_SOURCES = \
+ test-796.c