1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Merge pull request #806 from ailin-nemui/fix-tests-old-glib

only use nonfatal assertions for GLib that actually supports it
This commit is contained in:
ailin-nemui 2018-01-08 14:33:12 +01:00 committed by GitHub
commit 2e28606635
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -31,7 +31,9 @@ int main(int argc, char **argv)
g_free(name);
}
#if GLIB_CHECK_VERSION(2,38,0)
g_test_set_nonfatal_assertions();
#endif
return g_test_run();
}

View File

@ -197,7 +197,9 @@ int main(int argc, char **argv)
g_free(name);
}
#if GLIB_CHECK_VERSION(2,38,0)
g_test_set_nonfatal_assertions();
#endif
return g_test_run();
}