GNOME Bugzilla – Bug 702367
test-suite failure: schema 'org.gnome.crypto.cache' is not installed
Last modified: 2013-06-18 13:34:06 UTC
Running the gnome-keyring test-suite in a pristine chroot, I get the following failure: TEST: test-secret-search... (pid=32575) /secret-search/service-search-items-unlocked-separate: (gnome-keyring-daemon:32577): GLib-GIO-ERROR **: Settings schema 'org.gnome.crypto.cache' is not installed ** ERROR:test-service.c:116:test_service_setup: assertion failed: (egg_test_wait_until (20000) != FALSE) FAIL GTester: last random seed: R02S3f385807dfbed5ae85f08cd747e56782 make[5]: *** [test] Terminated make[5]: Target `check-local' not remade because of errors. make[5]: Leaving directory `/tmp/buildd/gnome-keyring-3.8.2/daemon/dbus/tests Looks like the test-suite needs the gsettings schema from gnome-keyring itself. By pointing XDG_DATA_DIRS to the directory with the gsettings schema, it should be possible to run the test-suite without having gnome-keyring installed system-wide.
Created attachment 247132 [details] [review] daemon: Fix running tests without installed gnome-keyring
Does the attached patch (or one like it) fix the issue for you?
(In reply to comment #2) > Does the attached patch (or one like it) fix the issue for you? It does fix this particular test, thanks! I'm still getting test-suite failures in other tests now. Will file separate bugs for those once I know more.
Attachment 247132 [details] pushed as 99b6f5a - daemon: Fix running tests without installed gnome-keyring