diff options
-rw-r--r-- | tests/lib/test-case.vala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/lib/test-case.vala b/tests/lib/test-case.vala index 02d8c23f..2b512456 100644 --- a/tests/lib/test-case.vala +++ b/tests/lib/test-case.vala @@ -41,6 +41,13 @@ public abstract class Folks.TestCase : Object { Intl.setlocale (LocaleCategory.ALL, ""); + /* Enable all debug output from libfolks. This is OK, as automake-1.12’s + * parallel test harness will only save the debug output from failed + * tests. If the user’s already set those variables, though, don’t + * overwrite them. */ + Environment.set_variable ("G_MESSAGES_DEBUG", "all", false); + Environment.set_variable ("FOLKS_DEBUG", "all", false); + /* Turn off use of gvfs. If using GTestDBus it's unavailable, * and if not it's pointless: all we need is the local filesystem. */ Environment.set_variable ("GIO_USE_VFS", "local", true); |