[libgdata/libgdata-0-10] tests: Set G_MESSAGES_DEBUG when running tests
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata/libgdata-0-10] tests: Set G_MESSAGES_DEBUG when running tests
- Date: Mon, 12 Mar 2012 09:28:36 +0000 (UTC)
commit 540f41778b6199c7aacd191ddad7e74874f32d70
Author: Philip Withnall <philip tecnocode co uk>
Date: Tue Dec 20 22:58:47 2011 +0000
tests: Set G_MESSAGES_DEBUG when running tests
Recent versions of GLib will only display debug messages when the
appropriate logging domains are set in G_MESSAGES_DEBUG.
Conflicts:
gdata/tests/common.c
gdata/tests/common.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gdata/tests/common.c b/gdata/tests/common.c
index ebda854..6ff130e 100644
--- a/gdata/tests/common.c
+++ b/gdata/tests/common.c
@@ -76,7 +76,8 @@ gdata_test_init (int argc, char **argv)
g_test_bug_base ("http://bugzilla.gnome.org/show_bug.cgi?id=");
/* Enable full debugging */
- g_setenv ("LIBGDATA_DEBUG", "3", FALSE);
+ g_setenv ("LIBGDATA_DEBUG", "3" /* GDATA_LOG_FULL */, FALSE);
+ g_setenv ("G_MESSAGES_DEBUG", "libgdata", FALSE);
}
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]