Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-dev] [PATCH] python-utils-r1.eclass: Switch epytest to "count" progress reports

2 views
Skip to first unread message

Michał Górny

unread,
May 9, 2022, 5:50:02 AM5/9/22
to
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 <mgo...@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 2b22b0539ecb..d7971d9ce422 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 ..."
--
2.35.1
0 new messages