commit: 1d718c475ca4e5dd6202bd79470a09caf269fc78
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon May 9 09:44:45 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon May 9 20:31:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d718c47
python-utils-r1.eclass: Switch epytest to "count" progress reports
Switch epytest to report test counts rather than percentages. This is
more precise when we're dealing with large numbers of tests.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
eclass/python-utils-r1.eclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 7f8f986cb287..0d958828e163 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -1288,6 +1288,9 @@ epytest() {
-Wdefault
# override color output
"--color=${color}"
+ # count is more precise when we're dealing with a large number
+ # of tests
+ -o console_output_style=count
# disable the undesirable-dependency plugins by default to
# trigger missing argument strips. strip options that require
# them from config files. enable them explicitly via "-p ..."