From 3733ad1cad084b0f36034dfa637e5f0b6d487e04 Mon Sep 17 00:00:00 2001 From: Egor Martynov Date: Thu, 19 Jan 2023 22:14:59 +0700 Subject: x11-wm/qtile: fix tests Qtile [does not support parallel testing](qtile/qtile#1634) yet, so we need to disable it. Closes: https://bugs.gentoo.org/850946 Signed-off-by: Egor Martynov Signed-off-by: Sam James --- x11-wm/qtile/qtile-0.21.0-r1.ebuild | 3 ++- x11-wm/qtile/qtile-0.22.1-r1.ebuild | 3 ++- x11-wm/qtile/qtile-0.22.1.ebuild | 3 ++- x11-wm/qtile/qtile-9999.ebuild | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) (limited to 'x11-wm') diff --git a/x11-wm/qtile/qtile-0.21.0-r1.ebuild b/x11-wm/qtile/qtile-0.21.0-r1.ebuild index 2474f4eaaf77..a7a04d573017 100644 --- a/x11-wm/qtile/qtile-0.21.0-r1.ebuild +++ b/x11-wm/qtile/qtile-0.21.0-r1.ebuild @@ -55,7 +55,8 @@ python_test() { # Force usage of built module rm -rf "${S}"/libqtile || die - epytest || die "Tests failed with ${EPYTHON}" + # TODO: remove "-p no:xdist" when https://github.com/qtile/qtile/issues/1634 will be resolved. + epytest -p no:xdist || die "Tests failed with ${EPYTHON}" } python_install_all() { diff --git a/x11-wm/qtile/qtile-0.22.1-r1.ebuild b/x11-wm/qtile/qtile-0.22.1-r1.ebuild index 0c6ec1818ef4..33f64ff72efe 100644 --- a/x11-wm/qtile/qtile-0.22.1-r1.ebuild +++ b/x11-wm/qtile/qtile-0.22.1-r1.ebuild @@ -86,7 +86,8 @@ python_test() { # Force usage of built module rm -rf "${S}"/libqtile || die - epytest --backend=x11 $(usev wayland '--backend=wayland') || die "Tests failed with ${EPYTHON}" + # TODO: remove "-p no:xdist" when https://github.com/qtile/qtile/issues/1634 will be resolved. + epytest -p no:xdist --backend=x11 $(usev wayland '--backend=wayland') || die "Tests failed with ${EPYTHON}" } python_install_all() { diff --git a/x11-wm/qtile/qtile-0.22.1.ebuild b/x11-wm/qtile/qtile-0.22.1.ebuild index fab0046ff270..eb09ab6ec305 100644 --- a/x11-wm/qtile/qtile-0.22.1.ebuild +++ b/x11-wm/qtile/qtile-0.22.1.ebuild @@ -61,7 +61,8 @@ python_test() { # Force usage of built module rm -rf "${S}"/libqtile || die - epytest || die "Tests failed with ${EPYTHON}" + # TODO: remove "-p no:xdist" when https://github.com/qtile/qtile/issues/1634 will be resolved. + epytest -p no:xdist || die "Tests failed with ${EPYTHON}" } python_install_all() { diff --git a/x11-wm/qtile/qtile-9999.ebuild b/x11-wm/qtile/qtile-9999.ebuild index 9c06ef2a1275..871b161d1af7 100644 --- a/x11-wm/qtile/qtile-9999.ebuild +++ b/x11-wm/qtile/qtile-9999.ebuild @@ -83,7 +83,8 @@ python_test() { # Force usage of built module rm -rf "${S}"/libqtile || die - epytest --backend=x11 $(usev wayland '--backend=wayland') || die "Tests failed with ${EPYTHON}" + # TODO: remove "-p no:xdist" when https://github.com/qtile/qtile/issues/1634 will be resolved. + epytest -p no:xdist --backend=x11 $(usev wayland '--backend=wayland') || die "Tests failed with ${EPYTHON}" } python_install_all() { -- cgit v1.2.3-65-gdbad