summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/irc/flood/test-796.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/irc/flood/test-796.c b/tests/irc/flood/test-796.c
index 2e4affa0..0c98509b 100644
--- a/tests/irc/flood/test-796.c
+++ b/tests/irc/flood/test-796.c
@@ -165,7 +165,9 @@ int main(int argc, char **argv)
server_destroy_flood_set_up, test_server_destroy_flood,
server_destroy_flood_tear_down);
+#if GLIB_CHECK_VERSION(2,38,0)
g_test_set_nonfatal_assertions();
+#endif
core_preinit(*argv);
irssi_gui = IRSSI_GUI_NONE;