[folks] Use a dummy relationships file for Tp tests.
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] Use a dummy relationships file for Tp tests.
- Date: Thu, 14 Oct 2010 20:19:59 +0000 (UTC)
commit 54c87f683d25fd731855fb485867b92864a464ea
Author: Travis Reitter <travis reitter collabora co uk>
Date: Thu Oct 14 13:18:21 2010 -0700
Use a dummy relationships file for Tp tests.
The main purposes are to prevent the key-file backend from reading in the user's
relationships.ini file and to avoid the inconsistency that could entail.
Fixes bgo#632163.
NEWS | 2 ++
tests/telepathy/Makefile.am | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index 49a6a71..171fbb2 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,8 @@ Bugs fixed:
* Bug 631864 â?? Crash when empathy disconnects
* 632096 - build failure: contact-retrieval.o: undefined reference to symbol
'gee_abstract_collection_add'
+* Bug 632163 â?? Folks key-file backend needs a way to point to a specific
+ .ini file
Overview of changes from libfolks 0.1.17 to libfolks 0.3.0
==========================================================
diff --git a/tests/telepathy/Makefile.am b/tests/telepathy/Makefile.am
index a6ad2c5..c257088 100644
--- a/tests/telepathy/Makefile.am
+++ b/tests/telepathy/Makefile.am
@@ -48,6 +48,8 @@ noinst_PROGRAMS = \
individual-properties \
$(NULL)
+TESTS_ENVIRONMENT = \
+ FOLKS_BACKEND_KEY_FILE_PATH=$(srcdir)/data/relationships-empty.ini
TESTS = $(addprefix test-,$(noinst_PROGRAMS))
persona_store_capabilities_SOURCES = \
diff --git a/tests/telepathy/data/relationships-empty.ini b/tests/telepathy/data/relationships-empty.ini
new file mode 100644
index 0000000..e69de29
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]