commit:     a79bc6b02a9e4b18183f93e670beb0b8dce145f6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  9 14:42:50 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jul  9 14:50:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a79bc6b0

app-portage/gentoolkit: Fix testing

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-portage/gentoolkit/gentoolkit-0.6.7.ebuild | 3 ++-
 app-portage/gentoolkit/gentoolkit-9999.ebuild  | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-portage/gentoolkit/gentoolkit-0.6.7.ebuild 
b/app-portage/gentoolkit/gentoolkit-0.6.7.ebuild
index d00878e10f08..0fab405bae64 100644
--- a/app-portage/gentoolkit/gentoolkit-0.6.7.ebuild
+++ b/app-portage/gentoolkit/gentoolkit-0.6.7.ebuild
@@ -83,7 +83,8 @@ src_compile() {
 }
 
 src_test() {
-       python_foreach_impl meson_src_test --no-rebuild --verbose
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       python_foreach_impl epytest
 }
 
 src_install() {

diff --git a/app-portage/gentoolkit/gentoolkit-9999.ebuild 
b/app-portage/gentoolkit/gentoolkit-9999.ebuild
index d00878e10f08..0fab405bae64 100644
--- a/app-portage/gentoolkit/gentoolkit-9999.ebuild
+++ b/app-portage/gentoolkit/gentoolkit-9999.ebuild
@@ -83,7 +83,8 @@ src_compile() {
 }
 
 src_test() {
-       python_foreach_impl meson_src_test --no-rebuild --verbose
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       python_foreach_impl epytest
 }
 
 src_install() {

Reply via email to