summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2018-04-24 14:00:30 +0200
committerGitHub <noreply@github.com>2018-04-24 14:00:30 +0200
commit3075cbc6fb383024b87563611021f9fb712182fd (patch)
tree2f2c3fcc14b4c94d3965edc7c232c3335eab57a9
parente19d6ee21930a4892b922d751477c4dabad15050 (diff)
downloadirssi-3075cbc6fb383024b87563611021f9fb712182fd.zip
Fix test compilation on old glib
e.g. Debian 7
-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;