commit:     acc4b275f901448367ea4902c28bc1b3c4e17730
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep  4 08:36:39 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep  7 07:50:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acc4b275

www-client/qutebrowser: Enable pytest-xvfb explicitly

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

 www-client/qutebrowser/qutebrowser-2.5.2.ebuild         | 2 +-
 www-client/qutebrowser/qutebrowser-3.0.0_pre9999.ebuild | 2 +-
 www-client/qutebrowser/qutebrowser-9999.ebuild          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/www-client/qutebrowser/qutebrowser-2.5.2.ebuild 
b/www-client/qutebrowser/qutebrowser-2.5.2.ebuild
index a803b50c57ca..b531a2983052 100644
--- a/www-client/qutebrowser/qutebrowser-2.5.2.ebuild
+++ b/www-client/qutebrowser/qutebrowser-2.5.2.ebuild
@@ -100,7 +100,7 @@ python_test() {
        use widevine && EPYTEST_DESELECT+=( tests/unit/config/test_qtargs.py )
 
        # skip benchmarks (incl. _tree), and warning tests broken by -Wdefault
-       epytest -k 'not _bench and not _matches_tree and not _warning'
+       epytest -p xvfb -k 'not _bench and not _matches_tree and not _warning'
 }
 
 python_install_all() {

diff --git a/www-client/qutebrowser/qutebrowser-3.0.0_pre9999.ebuild 
b/www-client/qutebrowser/qutebrowser-3.0.0_pre9999.ebuild
index a08871af437f..28af4e718008 100644
--- a/www-client/qutebrowser/qutebrowser-3.0.0_pre9999.ebuild
+++ b/www-client/qutebrowser/qutebrowser-3.0.0_pre9999.ebuild
@@ -124,7 +124,7 @@ python_test() {
        local jobs=$(($(makeopts_jobs) / 2 + 1))
 
        # skip benchmarks (incl. _tree), and warning tests broken by -Wdefault
-       epytest -n ${jobs} -k 'not _bench and not _matches_tree and not 
_warning'
+       epytest -p xvfb -n ${jobs} -k 'not _bench and not _matches_tree and not 
_warning'
 }
 
 python_install_all() {

diff --git a/www-client/qutebrowser/qutebrowser-9999.ebuild 
b/www-client/qutebrowser/qutebrowser-9999.ebuild
index db080c13371e..9721e0227ee9 100644
--- a/www-client/qutebrowser/qutebrowser-9999.ebuild
+++ b/www-client/qutebrowser/qutebrowser-9999.ebuild
@@ -100,7 +100,7 @@ python_test() {
        use widevine && EPYTEST_DESELECT+=( tests/unit/config/test_qtargs.py )
 
        # skip benchmarks (incl. _tree), and warning tests broken by -Wdefault
-       epytest -k 'not _bench and not _matches_tree and not _warning'
+       epytest -p xvfb -k 'not _bench and not _matches_tree and not _warning'
 }
 
 python_install_all() {

Reply via email to