diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-04 10:36:58 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-07 09:50:10 +0200 |
commit | cb6dd762048b1f98cc59207070ee65e68be8832f (patch) | |
tree | 83d4fda26369fad992ede5a04141a4264115bd31 /eclass | |
parent | www-client/qutebrowser: Enable pytest-xvfb explicitly (diff) | |
download | gentoo-cb6dd762048b1f98cc59207070ee65e68be8832f.tar.gz gentoo-cb6dd762048b1f98cc59207070ee65e68be8832f.tar.bz2 gentoo-cb6dd762048b1f98cc59207070ee65e68be8832f.zip |
python-utils-r1.eclass: Pass "-p no:xvfb" in epytest
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/python-utils-r1.eclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index 89013591c31b..7a5f84bd561e 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -1334,6 +1334,11 @@ epytest() { # pytest-sugar undoes everything that's good about pytest output # and makes it hard to read logs -p no:sugar + # pytest-xvfb automatically spawns Xvfb for every test suite, + # effectively forcing it even when we'd prefer the tests + # not to have DISPLAY at all, causing crashes sometimes + # and causing us to miss missing virtualx usage + -p no:xvfb ) local x for x in "${EPYTEST_DESELECT[@]}"; do |