python-utils-r1.eclass: Always force test summary in epytest

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 <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-03-08 08:52:32 +01:00
parent 18c4fc0667
commit b9829ab04f
+1 -1
View File
@@ -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}"