Skip to content
Snippets Groups Projects
Commit 5e855d4e authored by Simon McVittie's avatar Simon McVittie
Browse files

tests/utils.c: Tolerate archaic GLib versions

parent 5bed6a57
No related branches found
No related tags found
1 merge request!311Build capsule-capture-libs from a bundled copy of libcapsule
...@@ -145,7 +145,9 @@ main (int argc, ...@@ -145,7 +145,9 @@ main (int argc,
char **argv) char **argv)
{ {
g_test_init (&argc, &argv, NULL); g_test_init (&argc, &argv, NULL);
#if GLIB_CHECK_VERSION(2, 38, 0)
g_test_set_nonfatal_assertions (); g_test_set_nonfatal_assertions ();
#endif
g_test_add ("/build-filename", Fixture, NULL, setup, g_test_add ("/build-filename", Fixture, NULL, setup,
test_build_filename, teardown); test_build_filename, teardown);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment