Bug 83986 - Ensure that 'make check' does not use any Weston components outside the build
Summary: Ensure that 'make check' does not use any Weston components outside the build
Status: RESOLVED MOVED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: All All
: medium enhancement
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 83980
  Show dependency treegraph
 
Reported: 2014-09-17 12:22 UTC by Pekka Paalanen
Modified: 2018-06-08 23:53 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pekka Paalanen 2014-09-17 12:22:26 UTC
'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?

http://cgit.freedesktop.org/wayland/weston/commit/?id=c7210434d45cff0135e42bd3047988e1274d49dd
was a good step in that direction. Is it enough? Are there any security implications?
Comment 1 GitLab Migration User 2018-06-08 23:53:04 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/wayland/weston/issues/51.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.