Use g_abort() instead of abort() where possible

https://bugzilla.gnome.org/show_bug.cgi?id=665446
This commit is contained in:
Руслан Ижбулатов
2016-03-30 14:01:30 +00:00
parent 5974428d25
commit e47904a26f
7 changed files with 19 additions and 18 deletions

View File

@@ -846,7 +846,7 @@ g_test_log (GTestLogType lbit,
{
if (test_tap_log)
g_print ("Bail out!\n");
abort();
g_abort();
}
if (result == G_TEST_RUN_SKIPPED)
test_skipped_count++;
@@ -2426,7 +2426,7 @@ g_assertion_message (const char *domain,
_exit (1);
}
else
abort ();
g_abort ();
}
/**
@@ -2459,7 +2459,7 @@ g_assertion_message_expr (const char *domain,
if (test_in_subprocess)
_exit (1);
else
abort ();
g_abort ();
}
void