• [gentoo-dev] [PATCH] python-utils-r1.eclass: Switch epytest to "count"

    From =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?@21:1/5 to All on Mon May 9 11:50:01 2022
    Switch epytest to report test counts rather than percentages. This is
    more precise when we're dealing with large numbers of tests.

    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    ---
    eclass/python-utils-r1.eclass | 3 +++
    1 file changed, 3 insertions(+)

    diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 2b22b0539ecb..d7971d9ce422 100644
    --- a/eclass/python-utils-r1.eclass
    +++ b/eclass/python-utils-r1.eclass
    @@ -1288,6 +1288,9 @@ epytest() {
    -Wdefault
    # override color output
    "--color=${color}"
    + # count is more precise when we're dealing with a large number + # of tests
    + -o console_output_style=count
    # disable the undesirable-dependency plugins by default to
    # trigger missing argument strips. strip options that require
    # them from config files. enable them explicitly via "-p ..." --
    2.35.1

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