summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Martynov <martynovegorOF@yandex.ru>2023-01-19 22:14:59 +0700
committerSam James <sam@gentoo.org>2023-01-20 01:15:47 +0000
commit3733ad1cad084b0f36034dfa637e5f0b6d487e04 (patch)
tree5c99c1da255b64858985b1ad2a514c1e4090c68a /x11-wm/qtile
parentmedia-sound/mpd: add 0.23.12 (diff)
downloadgentoo-3733ad1cad084b0f36034dfa637e5f0b6d487e04.tar.gz
gentoo-3733ad1cad084b0f36034dfa637e5f0b6d487e04.tar.bz2
gentoo-3733ad1cad084b0f36034dfa637e5f0b6d487e04.zip
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@yandex.ru> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-wm/qtile')
-rw-r--r--x11-wm/qtile/qtile-0.21.0-r1.ebuild3
-rw-r--r--x11-wm/qtile/qtile-0.22.1-r1.ebuild3
-rw-r--r--x11-wm/qtile/qtile-0.22.1.ebuild3
-rw-r--r--x11-wm/qtile/qtile-9999.ebuild3
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() {