summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2012-10-30 22:45:01 -0700
committerDan Nicholson <dbn.lists@gmail.com>2012-10-31 05:28:42 -0700
commit82a360b3af64ccadec367fb4974f807530b3b3a0 (patch)
tree184a180c947054b07ef94b6bcacc9ea5d66c63e3
parent5db6a493c5ccf235686eff0766b1de91bbf8ffe4 (diff)
test: Set G_MESSAGES_DEBUG for newer glib
On newer glib, G_MESSAGES_DEBUG controls which domains get their debug messages printed. Set this in addition to the local EVBP_DEBUG setup so that debug messages are received on older and newer glib.
-rw-r--r--test/browser.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/browser.sh.in b/test/browser.sh.in
index 8709369..f66fe74 100644
--- a/test/browser.sh.in
+++ b/test/browser.sh.in
@@ -6,8 +6,9 @@ abs_top_builddir="@abs_top_builddir@"
BROWSER=${BROWSER-firefox}
MOZ_PLUGIN_PATH="$abs_top_builddir/src/.libs${MOZ_PLUGIN_PATH+:$MOZ_PLUGIN_PATH}"
EVBP_DEBUG=1
+G_MESSAGES_DEBUG=${G_MESSAGES_DEBUG-evince-browser-plugin}
G_DEBUG=${G_DEBUG-fatal_criticals}
-export MOZ_PLUGIN_PATH EVBP_DEBUG G_DEBUG
+export MOZ_PLUGIN_PATH EVBP_DEBUG G_MESSAGES_DEBUG G_DEBUG
# if there are no args, open test.html
[ -z "$1" ] && set -- "$abs_top_srcdir/test/test.html"