[libgdata] tests: Set G_MESSAGES_DEBUG when running tests
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdata] tests: Set G_MESSAGES_DEBUG when running tests
- Date: Tue, 20 Dec 2011 23:35:34 +0000 (UTC)
commit fd7c94a176493e4d48f175d28bf9c6266b56da9c
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.
gdata/tests/common.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gdata/tests/common.c b/gdata/tests/common.c
index 22e2a8a..6ff130e 100644
--- a/gdata/tests/common.c
+++ b/gdata/tests/common.c
@@ -77,6 +77,7 @@ gdata_test_init (int argc, char **argv)
/* Enable full debugging */
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]