GNOME Bugzilla – Bug 771339
Test: tracker-backend.vala:211: Falling back to bus backend
Last modified: 2016-09-14 20:05:53 UTC
Was trying to run the tests. dev@unstable:~/source/apt/grilo/libgrilo-0.3.2/grilo-0.3.2$ make check ... ... make[2]: Entering directory '/local/packages/source/apt/grilo/libgrilo-0.3.2/grilo-0.3.2/tests' make check-local make[3]: Entering directory '/local/packages/source/apt/grilo/libgrilo-0.3.2/grilo-0.3.2/tests' TEST: registry... (pid=27870) /registry/init: OK /registry/load: (/home/dev/source/apt/grilo/libgrilo-0.3.2/grilo-0.3.2/tests/.libs/lt-registry:27870): Tracker-WARNING **: tracker-backend.vala:211: Falling back to bus backend, the direct backend failed to initialize: Locale mismatch, cannot use direct connection FAIL GTester: last random seed: R02S5dd0e8bcafe932e13c0fed5e5c96504a /bin/bash: line 1: 27869 Terminated gtester --verbose registry Makefile:798: recipe for target 'test' failed make[3]: *** [test] Error 143
Configuration Version : 0.3.2 Prefix : /usr Compiler : gcc Enable debug : yes Enable tests : yes Enable docs : yes Introspection support : yes Vala support : yes Enable Test UI : yes GrlNet support : yes GrlPls support : yes
Created attachment 335508 [details] [review] tests: Fix registry test with Tracker plugin The tracker plugin expects the client and daemon to run with the same locale to do direct connection, and throws a warning if not. Set the locale correctly in the test to avoid that problem.
Works fine with the above patch. make[2]: Entering directory '/local/packages/source/apt/grilo/libgrilo-0.3.2/grilo-0.3.2/tests' TEST: registry... (pid=26867) /registry/init: OK /registry/load: OK /registry/unregister: OK PASS: registry
Attachment 335508 [details] pushed as 74dbc23 - tests: Fix registry test with Tracker plugin
Thanks !