summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-05-09 11:44:45 +0200
committerMichał Górny <mgorny@gentoo.org>2022-05-09 22:31:54 +0200
commit1d718c475ca4e5dd6202bd79470a09caf269fc78 (patch)
tree61fae649ac726723f0d3b77876d3d93aacdd1dc5 /eclass/python-utils-r1.eclass
parentdistutils-r1.eclass: Move setup from src_configure to prepare_all (diff)
downloadgentoo-1d718c475ca4e5dd6202bd79470a09caf269fc78.tar.gz
gentoo-1d718c475ca4e5dd6202bd79470a09caf269fc78.tar.bz2
gentoo-1d718c475ca4e5dd6202bd79470a09caf269fc78.zip
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@gentoo.org>
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r--eclass/python-utils-r1.eclass3
1 files changed, 3 insertions, 0 deletions
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 ..."