gmessages: Fix up testing commit to handle fatal masquerading

This makes glib/tests/testing pass again.
This commit is contained in:
Colin Walters 2013-05-21 00:07:18 +01:00
parent c12538a9c0
commit f2a9a6142c

View File

@ -966,7 +966,7 @@ g_logv (const gchar *log_domain,
&& !fatal_log_func (log_domain, test_level, msg, fatal_log_data);
}
if ((test_level & G_LOG_FLAG_FATAL) && exit_on_fatal)
if ((test_level & G_LOG_FLAG_FATAL) && exit_on_fatal && !masquerade_fatal)
{
_g_log_abort ();
}