diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2014-03-24 14:16:11 +0000 |
---|---|---|
committer | Travis Reitter <travis.reitter@collabora.co.uk> | 2014-03-27 15:18:46 -0700 |
commit | 71f6f79f7a9e95078d2e5a0ad2a48652197339a9 (patch) | |
tree | c072e1495c73a227191d2f155affec001ec60a6d | |
parent | b16bd87240424632d7881172e87b2571d3df57be (diff) |
tests: avoid using dconf
tests/eds/perf reliably fails for me with this warning:
dconf-WARNING **: failed to commit changes to dconf: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name ca.desrt.dconf was not provided by any .service files
and in any case we shouldn't be changing the user's real configuration.
https://bugzilla.gnome.org/show_bug.cgi?id=726973
-rw-r--r-- | tests/lib/test-case.vala | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/test-case.vala b/tests/lib/test-case.vala index 8a93a565..1eeb4302 100644 --- a/tests/lib/test-case.vala +++ b/tests/lib/test-case.vala @@ -137,6 +137,9 @@ public abstract class Folks.TestCase : Object debug ("setting up in transient directory %s", transient); + /* Don't try to use dconf */ + Environment.set_variable ("GSETTINGS_BACKEND", "memory", true); + /* GLib >= 2.36, and various non-GNOME things, obey this. */ Environment.set_variable ("HOME", transient, true); /* GLib < 2.36 in Debian obeyed this (although upstream GLib < 2.36 |