• [gentoo-dev] [PATCH] python-utils-r1.eclass: Pass "-p no:xvfb" in epyte

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Mon Sep 5 09:10:01 2022
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    eclass/python-utils-r1.eclass | 5 +++++
    1 file changed, 5 insertions(+)

    GitHub PR (with package updates):


    diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 89013591c31b..7a5f84bd561e 100644
    --- a/eclass/python-utils-r1.eclass
    +++ b/eclass/python-utils-r1.eclass
    @@ -1334,6 +1334,11 @@ epytest() {
    # pytest-sugar undoes everything that's good about pytest output
    # and makes it hard to read logs
    -p no:sugar
    + # pytest-xvfb automatically spawns Xvfb for every test suite,
    + # effectively forcing it even when we'd prefer the tests
    + # not to have DISPLAY at all, causing crashes sometimes
    + # and causing us to miss missing virtualx usage
    + -p no:xvfb
    )
    local x
    for x in "${EPYTEST_DESELECT[@]}"; do
    --
    2.37.3

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)