summaryrefslogtreecommitdiff
path: root/tests/irc/flood
diff options
context:
space:
mode:
authorailin-nemui <ailin-nemui@users.noreply.github.com>2018-04-24 16:21:58 +0200
committerGitHub <noreply@github.com>2018-04-24 16:21:58 +0200
commit0a0c755b89c932f058899011d73bedf3a516a8d5 (patch)
tree2f2c3fcc14b4c94d3965edc7c232c3335eab57a9 /tests/irc/flood
parente19d6ee21930a4892b922d751477c4dabad15050 (diff)
parent3075cbc6fb383024b87563611021f9fb712182fd (diff)
downloadirssi-0a0c755b89c932f058899011d73bedf3a516a8d5.zip
Merge pull request #875 from irssi/ailin-nemui-compile-oldtest
Fix test compilation on old glib
Diffstat (limited to 'tests/irc/flood')
-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;