public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 1/5] python-utils-r1.eclass: Minimize pytest tempdir retention
@ 2024-01-04 17:09 Michał Górny
  2024-01-04 17:09 ` [gentoo-dev] [PATCH 2/5] dev-python/tox: epytest now takes care of removing tempdir Michał Górny
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Michał Górny @ 2024-01-04 17:09 UTC (permalink / raw)
  To: gentoo-dev; +Cc: Michał Górny

Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
 eclass/python-utils-r1.eclass | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index abb55bd2e942..27fb92a75aca 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -1344,6 +1344,11 @@ epytest() {
 		# count is more precise when we're dealing with a large number
 		# of tests
 		-o console_output_style=count
+		# minimize the temporary directory retention, the test suites
+		# of some packages can grow them pretty large and normally
+		# we don't need to preserve them
+		-o tmp_path_retention_count=0
+		-o tmp_path_retention_policy=failed
 	)
 
 	if [[ ! ${PYTEST_DISABLE_PLUGIN_AUTOLOAD} ]]; then
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-01-04 17:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-04 17:09 [gentoo-dev] [PATCH 1/5] python-utils-r1.eclass: Minimize pytest tempdir retention Michał Górny
2024-01-04 17:09 ` [gentoo-dev] [PATCH 2/5] dev-python/tox: epytest now takes care of removing tempdir Michał Górny
2024-01-04 17:09 ` [gentoo-dev] [PATCH 3/5] python-utils-r1.eclass, distutils-r1.eclass: Add EPYTEST_TIMEOUT Michał Górny
2024-01-04 17:09 ` [gentoo-dev] [PATCH 4/5] dev-python/trimesh: Use EPYTEST_TIMEOUT Michał Górny
2024-01-04 17:09 ` [gentoo-dev] [PATCH 5/5] distutils-r1.eclass: QA-warn about invalid package versions Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox