From: Jeremy Whiting Date: Thu, 28 Jun 2012 19:49:00 +0000 (-0600) Subject: Start eds source-registry and addressbook-factory ourselves. X-Git-Tag: FOLKS_0_7_2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5575c62212216918bfa445bb9bf06ad7b864e70c;p=platform%2Fupstream%2Ffolks.git Start eds source-registry and addressbook-factory ourselves. --- diff --git a/tests/tools/eds.sh b/tests/tools/eds.sh index e80a93f..e0fc45e 100644 --- a/tests/tools/eds.sh +++ b/tests/tools/eds.sh @@ -10,6 +10,7 @@ # notice and this notice are preserved. eds_tmpdir=$(mktemp -d) +libexec=$(pkg-config --variable=libexecdir evolution-data-server-1.2) cur_dir=`dirname $0` @@ -22,6 +23,11 @@ eds_init_settings () { cp $cur_dir/other.source $XDG_CONFIG_HOME/evolution/sources/ } +eds_start () { + $libexec/evolution-source-registry > /dev/null & + $libexec/evolution-addressbook-factory --wait-for-client > /dev/null & +} + # This should be called on INT TERM and EXIT eds_stop () { rm -rf $eds_tmpdir diff --git a/tests/tools/with-session-bus-eds.sh b/tests/tools/with-session-bus-eds.sh index e525346..ed0244d 100755 --- a/tests/tools/with-session-bus-eds.sh +++ b/tests/tools/with-session-bus-eds.sh @@ -38,6 +38,7 @@ eds_init_settings dbus_init 0 dbus_start +eds_start e=0 "$@" || e=$?