[glib] Log errors the same way as messages
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Log errors the same way as messages
- Date: Sat, 2 Feb 2013 23:26:54 +0000 (UTC)
commit 0336eb67a23a434ecb08b1fcafb087b869f45239
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 2 16:53:45 2013 -0500
Log errors the same way as messages
This will make sense if we keep going past
the assertions that cause the error to be logged.
glib/gtestutils.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/glib/gtestutils.c b/glib/gtestutils.c
index ace550d..4089758 100644
--- a/glib/gtestutils.c
+++ b/glib/gtestutils.c
@@ -633,6 +633,7 @@ g_test_log (GTestLogType lbit,
g_print ("(MAXPERF:%s)\n", string1);
break;
case G_TEST_LOG_MESSAGE:
+ case G_TEST_LOG_ERROR:
if (g_test_verbose())
g_print ("(MSG: %s)\n", string1);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]