[Bug 27631] New: Tests fail in master due to use of stale files in ~/.cache
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Apr 14 15:05:38 CEST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=27631
Summary: Tests fail in master due to use of stale files in
~/.cache
Product: Telepathy
Version: git master
Platform: Other
URL: http://git.collabora.co.uk/?p=user/smcv/telepathy-miss
ion-control-smcv.git;a=shortlog;h=refs/heads/trivia
OS/Version: All
Status: ASSIGNED
Keywords: patch
Severity: normal
Priority: high
Component: mission-control
AssignedTo: simon.mcvittie at collabora.co.uk
ReportedBy: simon.mcvittie at collabora.co.uk
QAContact: telepathy-bugs at lists.freedesktop.org
CC: vivek at collabora.co.uk
Tests are not correctly isolated from the normal configuration directories in
master.
My trivia branch also contains a merge from the stable branch I've proposed
(Bug #27630).
commit 0901a0a6c90e24621e35ac35e5cd88fa20c2a205
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: 2010-04-14 13:58:28 +0100
Set the right environment variable to run tests with a temporary version of
~/.cache
diff --git a/test/twisted/Makefile.am b/test/twisted/Makefile.am
index af64b56..ca4c863 100644
--- a/test/twisted/Makefile.am
+++ b/test/twisted/Makefile.am
@@ -127,7 +127,7 @@ BASIC_TESTS_ENVIRONMENT = \
XDG_CONFIG_DIRS=@abs_top_srcdir@/test/twisted \
XDG_DATA_HOME=@abs_top_builddir@/test/twisted/tmp-$(TMPSUFFIX) \
XDG_DATA_DIRS=@abs_top_srcdir@/test/twisted \
- XDG_CACHE_DIR=@abs_top_builddir@/test/twisted/tmp-$(TMPSUFFIX) \
+ XDG_CACHE_HOME=@abs_top_builddir@/test/twisted/tmp-$(TMPSUFFIX) \
MC_CLIENTS_DIR=@abs_top_srcdir@/test/twisted/telepathy/clients \
MC_MANAGER_DIR=@abs_top_srcdir@/test/twisted/telepathy/managers \
G_DEBUG=fatal_criticals
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the telepathy-bugs
mailing list