mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
only use nonfatal assertions for GLib that actually supports it
Fixes tests on Debian 7 and RHEL 6
This commit is contained in:
parent
d85f867261
commit
b8e3c5d00e
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user