Explicitly request pytest to display the summary of all test results
except for passing tests.  This overrides the upstream defaults to
improve the quality of build logs.

Signed-off-by: Michał Górny <[email protected]>
---
 eclass/python-utils-r1.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 1b2e2ccde8e5..52d064e4af80 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -1294,7 +1294,7 @@ epytest() {
        local die_args=()
        [[ ${EAPI} != [45] ]] && die_args+=( -n )
 
-       set -- "${EPYTHON}" -m pytest -vv "${@}"
+       set -- "${EPYTHON}" -m pytest -vv -ra "${@}"
 
        echo "${@}" >&2
        "${@}" || die "${die_args[@]}" "pytest failed with ${EPYTHON}"
-- 
2.30.1


Reply via email to