commit:     3733ad1cad084b0f36034dfa637e5f0b6d487e04
Author:     Egor Martynov <martynovegorOF <AT> yandex <DOT> ru>
AuthorDate: Thu Jan 19 15:14:59 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 20 01:15:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3733ad1c

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 <martynovegorOF <AT> yandex.ru>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 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(-)

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() {

Reply via email to