[Wayland-bugs] [Bug 103475] Tests do not fail, if XDG_RUNTIME_DIR is unset
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 27 11:59:33 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=103475
Pekka Paalanen <ppaalanen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Summary|Tests fail, if |Tests do not fail, if
|XDG_RUNTIME_DIR is set, but |XDG_RUNTIME_DIR is unset
|directory is missing |
Resolution|NOTOURBUG |---
--- Comment #3 from Pekka Paalanen <ppaalanen at gmail.com> ---
Ah, so that's the issue, I did not expect the tests to succeed if
XDG_RUNTIME_DIR is not set.
test-runner.c:set_xdg_runtime_dir() needs to manufacture a different
XDG_RUNTIME_DIR for each invocation to avoid parallel running tests clashing
with each other. It does use the existing value of XDG_RUNTIME_DIR as base when
set, but it also has a fallback to /tmp otherwise.
Maybe that fallback should be removed to maintain consistency. Reopening to see
if there are opinions for fixing this.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20171027/6f478622/attachment.html>
More information about the wayland-bugs
mailing list