<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - tests fail if $XDG_DATA_DIRS is not set"
href="https://bugs.freedesktop.org/show_bug.cgi?id=73651">73651</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>zeitgeist-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>tests fail if $XDG_DATA_DIRS is not set
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>zeitgeist-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>martin.pitt@ubuntu.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>Engine
</td>
</tr>
<tr>
<th>Product</th>
<td>Zeitgeist
</td>
</tr></table>
<p>
<div>
<pre>When building zeitgeist packages in a Debian/Ubuntu build environment there is
a very limited environment. In particular, there is no $XDG_DATA_DIRS which
makes the tests fail:
$ cat test/c/test-suite.log
=============================================
zeitgeist 0.9.14: test/c/test-suite.log
=============================================
# TOTAL: 6
# PASS: 4
# SKIP: 0
# XFAIL: 0
# FAIL: 2
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: test-event
================
/Zeitgeist/Event/CreateEmpty:
(/tmp/zeitgeist-0.9.14/test/c/.libs/lt-test-event:32762): GLib-CRITICAL **:
g_setenv: assertion 'value != NULL' failed
FAIL: test-datasource
=====================
/Zeitgeist/DataSource/CreateEmpty:
(/tmp/zeitgeist-0.9.14/test/c/.libs/lt-test-datasource:369): GLib-CRITICAL **:
g_setenv: assertion 'value != NULL' failed</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>