commit:     741b3516280eed28f246208dfb2917af2ff96105
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 16 18:02:31 2021 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Dec 16 19:08:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=741b3516

x11-terms/guake: fix tests when pytest-xvfb is installed

Originally thought it was a conflict because it used both at once,
but pytest-xvfb without virtx didn't work either, so just leaving
it at what works by disabling pytest-xvfb.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 x11-terms/guake/guake-3.8.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/x11-terms/guake/guake-3.8.0.ebuild 
b/x11-terms/guake/guake-3.8.0.ebuild
index 1ca6858689bd..630fe543064f 100644
--- a/x11-terms/guake/guake-3.8.0.ebuild
+++ b/x11-terms/guake/guake-3.8.0.ebuild
@@ -50,8 +50,9 @@ python_prepare_all() {
 }
 
 python_test() {
-       # uses /usr/bin/bash if SHELL is not exported
-       SHELL=${SHELL} virtx distutils-r1_python_test
+       # - uses /usr/bin/bash if SHELL is not exported
+       # - pytest-xvfb fails with Terminated, virtx alone works
+       SHELL=${SHELL} virtx epytest -p no:xvfb
 }
 
 python_install() {

Reply via email to