From b9829ab04f3bab77641f5a148989ca9723c10fa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 6 Mar 2021 11:59:19 +0100 Subject: [PATCH] python-utils-r1.eclass: Always force test summary in epytest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- 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 1b2e2ccde8e5b..52d064e4af809 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}"