commit: b9829ab04f3bab77641f5a148989ca9723c10fa4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 6 10:59:19 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 8 07:52:32 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9829ab0
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 <AT> gentoo.org>
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 1b2e2ccde8e..52d064e4af8 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}"