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 <[email protected]>
---
 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


Reply via email to