Commit 5e855d4e authored by Simon McVittie's avatar Simon McVittie

tests/utils.c: Tolerate archaic GLib versions

Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
parent 5bed6a57
......@@ -145,7 +145,9 @@ main (int argc,
char **argv)
{
g_test_init (&argc, &argv, NULL);
#if GLIB_CHECK_VERSION(2, 38, 0)
g_test_set_nonfatal_assertions ();
#endif
g_test_add ("/build-filename", Fixture, NULL, setup,
test_build_filename, teardown);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment