diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-03-06 11:59:19 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-03-08 08:52:32 +0100 |
commit | b9829ab04f3bab77641f5a148989ca9723c10fa4 (patch) | |
tree | 612e747b6b4a1351c0e4b2d7dae66047985d4f9f /eclass/python-utils-r1.eclass | |
parent | distutils-r1.eclass: Use epytest (diff) | |
download | gentoo-b9829ab04f3bab77641f5a148989ca9723c10fa4.tar.gz gentoo-b9829ab04f3bab77641f5a148989ca9723c10fa4.tar.bz2 gentoo-b9829ab04f3bab77641f5a148989ca9723c10fa4.zip |
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>
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r-- | eclass/python-utils-r1.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
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}" |