mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 18:07:08 -08:00
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:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user