Bug 29503

Summary: Tests broken because of GSettings
Product: Telepathy Reporter: Guillaume Desmottes <guillaume.desmottes>
Component: loggerAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: Other   
OS: All   
URL: http://git.collabora.co.uk/?p=user/danni/telepathy-logger.git;a=shortlog;h=refs/heads/conf-test-mode-29503
Whiteboard: r+
i915 platform: i915 features:

Description Guillaume Desmottes 2010-08-11 04:19:50 UTC
"make check" has been broken during the GSettings port.


make[3]: Entering directory `/home/cassidy/dev/telepathy-logger/tests'
PASS: test-tpl-channel

GLib-GIO-ERROR **: Settings schema 'org.freedesktop.Telepathy.Logger' is not installed

aborting...
/bin/bash: line 5:  5297 Trace/breakpoint trap   G_DEBUG=fatal-warnings,fatal-criticals ${dir}$tst
FAIL: test-tpl-conf
freq = 0
PASS: test-tpl-log-store-sqlite
PASS: test-tpl-log-manager

GLib-GIO-ERROR **: Settings schema 'org.freedesktop.Telepathy.Logger' is not installed

aborting...
/bin/bash: line 5:  5351 Trace/breakpoint trap   G_DEBUG=fatal-warnings,fatal-criticals ${dir}$tst
FAIL: test-tpl-observer

GLib-GIO-ERROR **: Settings schema 'org.freedesktop.Telepathy.Logger' is not installed

aborting...
/bin/bash: line 5:  5370 Trace/breakpoint trap   G_DEBUG=fatal-warnings,fatal-criticals ${dir}$tst
FAIL: test-searches
============================================================================================
3 of 6 tests failed
Please report to https://bugs.freedesktop.org/buglist.cgi?product=Telepathy&component=logger
============================================================================================
Comment 1 Danielle Madeley 2010-08-11 19:21:56 UTC
This enables a "Test mode" to TplConf that makes it return fixed values, instead of looking up GSettings. It is enabled by a TPL_TEST_MODE environment variable.
Comment 3 Guillaume Desmottes 2010-08-12 00:55:16 UTC
++
Comment 4 Danielle Madeley 2010-08-12 02:39:51 UTC
Merged.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.