Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722702 - www-client/qutebrowser: tests are restricted due to X not being available?
Summary: www-client/qutebrowser: tests are restricted due to X not being available?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Guillaume Seren
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-12 14:03 UTC by Joonas Niilola
Modified: 2021-06-30 02:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joonas Niilola gentoo-dev 2020-05-12 14:03:28 UTC
IF this is the case, you can use virtualx.eclass in the ebuild to emulate X session. There are multiple examples in the tree how to use it.

https://devmanual.gentoo.org/eclass-reference/virtualx.eclass/index.html
https://qa-reports.gentoo.org/output/eclass-usage/virtualx.txt
Comment 1 Guillaume Seren 2020-05-13 18:14:24 UTC
Hello Joonas,
I am working on this thank you for the feedback :)
Comment 2 Stefan Strogin gentoo-dev 2021-06-30 01:32:41 UTC
Joonas, qutebrowser's tests need pytest with these plugins:
pytest-bdd, pytest-benchmark, pytest-instafail, pytest-mock, pytest-qt, pytest-rerunfailures. We have ebuilds only for the latter three. It is written in the comment that we missing requirements, but I'll drop the part about X.
Comment 3 Larry the Git Cow gentoo-dev 2021-06-30 02:05:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f98a8f44c677dffd896fda5a76bfa2a15dcd3a8

commit 7f98a8f44c677dffd896fda5a76bfa2a15dcd3a8
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2021-06-30 01:50:27 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2021-06-30 01:50:27 +0000

    www-client/qutebrowser: upgrade to 2.3.0
    
    Closes: https://bugs.gentoo.org/722702
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 www-client/qutebrowser/Manifest                 |  1 +
 www-client/qutebrowser/qutebrowser-2.3.0.ebuild | 90 +++++++++++++++++++++++++
 2 files changed, 91 insertions(+)