summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-06-04 07:35:56 +0200
committerMichał Górny <mgorny@gentoo.org>2024-06-04 07:35:56 +0200
commit42a9a117927b256cbffafbe50df2806253eac2c4 (patch)
tree56418e88adb07589e8c38937876551b3679a2718 /media-gfx/img2pdf
parentmedia-gfx/img2pdf: Version bump to 0.5.1 (diff)
downloadgentoo-42a9a117927b256cbffafbe50df2806253eac2c4.tar.gz
gentoo-42a9a117927b256cbffafbe50df2806253eac2c4.tar.bz2
gentoo-42a9a117927b256cbffafbe50df2806253eac2c4.zip
media-gfx/img2pdf: Speed testing up
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-gfx/img2pdf')
-rw-r--r--media-gfx/img2pdf/img2pdf-0.5.1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/media-gfx/img2pdf/img2pdf-0.5.1.ebuild b/media-gfx/img2pdf/img2pdf-0.5.1.ebuild
index 623b63caa284..156509f263af 100644
--- a/media-gfx/img2pdf/img2pdf-0.5.1.ebuild
+++ b/media-gfx/img2pdf/img2pdf-0.5.1.ebuild
@@ -41,6 +41,7 @@ RDEPEND="
gui? ( $(python_gen_impl_dep tk) )
"
+EPYTEST_XDIST=1
distutils_enable_tests pytest
src_prepare() {
@@ -52,7 +53,7 @@ src_prepare() {
fi
}
-src_test() {
+python_test() {
local EPYTEST_DESELECT=(
# https://gitlab.mister-muffin.de/josch/img2pdf/issues/187
src/img2pdf_test.py::test_miff_cmyk8
@@ -65,5 +66,6 @@ src_test() {
)
fi
- distutils-r1_src_test
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
}