[totem-pl-parser] tests: Fix debug output with recent glib
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem-pl-parser] tests: Fix debug output with recent glib
- Date: Mon, 5 Dec 2011 22:23:46 +0000 (UTC)
commit 2af79592b76f30dd6bd5072dcb4ec5c605ef1d8e
Author: Bastien Nocera <hadess hadess net>
Date: Mon Dec 5 23:23:07 2011 +0100
tests: Fix debug output with recent glib
plparse/tests/parser.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plparse/tests/parser.c b/plparse/tests/parser.c
index 54f5b84..71fcb75 100644
--- a/plparse/tests/parser.c
+++ b/plparse/tests/parser.c
@@ -1019,6 +1019,10 @@ main (int argc, char *argv[])
return 1;
}
+ if (option_debug) {
+ g_setenv ("G_MESSAGES_DEBUG", "all", TRUE);
+ }
+
/* If we've been given no URIs, run the static tests */
if (uris == NULL) {
check_http ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]