[Wayland-bugs] [Bug 83986] New: Ensure that 'make check' does not use any Weston components outside the build

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 17 05:22:26 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83986

          Priority: medium
            Bug ID: 83986
          Assignee: wayland-bugs at lists.freedesktop.org
            Blocks: 83980
           Summary: Ensure that 'make check' does not use any Weston
                    components outside the build
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: ppaalanen at gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: weston
           Product: Wayland

'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?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140917/3ddb7231/attachment-0001.html>


More information about the wayland-bugs mailing list