<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 --- - Ensure that 'make check' does not use any Weston components outside the build"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83986">83986</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Blocks</th>
<td>83980
</td>
</tr>
<tr>
<th>Summary</th>
<td>Ensure that 'make check' does not use any Weston components outside the build
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ppaalanen@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>'make check' should not require 'make install' first.
Add some sort of tests, that ensure all files are loaded from the build
directory, and nothing is accidentally loaded from the system, including:
weston.ini, weston plugins, backends, helper programs (weston-desktop-shell,
weston-keyboard, etc.).
We want to notice if anything gets used from the system, because that
compromises the test results.
There could still be some cases where some components might be picked up from
the system. All those need to be fixed.
Maybe we should have a some sort of switch to Weston to put it into test mode,
which makes it skip all normal search paths?
<a href="http://cgit.freedesktop.org/wayland/weston/commit/?id=c7210434d45cff0135e42bd3047988e1274d49dd">http://cgit.freedesktop.org/wayland/weston/commit/?id=c7210434d45cff0135e42bd3047988e1274d49dd</a>
was a good step in that direction. Is it enough? Are there any security
implications?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>