summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/irc/core/Makefile.am5
-rw-r--r--tests/irc/core/test-irc.c1
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/irc/core/Makefile.am b/tests/irc/core/Makefile.am
index fff2a246..b5345067 100644
--- a/tests/irc/core/Makefile.am
+++ b/tests/irc/core/Makefile.am
@@ -1,11 +1,12 @@
+include $(top_srcdir)/utils/glib-tap.mk
+
AM_CPPFLAGS = \
-I$(top_srcdir)/src \
-I$(top_srcdir)/src/core \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
$(GLIB_CFLAGS)
-TESTS = test-irc
-check_PROGRAMS = test-irc
+test_programs = test-irc
test_irc_CPPFLAGS = \
-I$(top_srcdir)/src/irc/core \
diff --git a/tests/irc/core/test-irc.c b/tests/irc/core/test-irc.c
index 7e85c9ba..4c62e6a7 100644
--- a/tests/irc/core/test-irc.c
+++ b/tests/irc/core/test-irc.c
@@ -32,6 +32,7 @@ int main(int argc, char **argv)
g_test_add_func("/test/event_get_param", test_event_get_param);
g_test_add_func("/test/event_get_params", test_event_get_params);
+ g_test_set_nonfatal_assertions();
return g_test_run();
}