Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ebuild: do not drop FEATURES=test when USE=-test #1116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 4, 2023

  1. ebuild: do not drop FEATURES=test when USE=-test

    By convention the "test" USE flag is used to control dependencies required
    for execution of the src_test function.
    
    The "test" USE flag has no special meaning in PMS.
    
    The Gentoo Policy Guide [1] advises that ebuilds must make use of RESTRICT
    to disable tests based on USE flags.
    
    Current versions of Portage will not run tests when RESTRICT=test is
    set, regardless of the FEATURES setting.
    
    This code in Portage predates the Gentoo policy. It is unneeded since
    the policy was created and ebuilds have been updated with the necessary
    RESTRICT values.
    
    [1] https://projects.gentoo.org/qa/policy-guide/other-metadata.html#pg0703
    
    Signed-off-by: Mike Gilbert <[email protected]>
    floppym committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    800718d View commit details
    Browse the repository at this point in the history