commit: 23a9efdd47e68edcbabd21beab975947a979005b Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Tue Aug 26 15:09:43 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Wed Aug 27 05:33:52 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23a9efdd
sci-misc/vitables: use pytest-xdist to run tests in subprocesses There is a random segfault in the testsuite. If I run ``` while FEATURES=test emerge -1 vitables; do :; done ``` after a few successful runs, it fails with ``` tests/test_vtgui.py::TestVTGui::test_dockWidget Fatal Python error: Segmentation fault ``` This does NOT fix the tests. It does, however, allow pytest to process the entire test session and summarize as e.g. > worker 'gw6' crashed while running > 'tests/test_logger.py::TestLogger::test_write' Bug: https://bugs.gentoo.org/892886 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> sci-misc/vitables/vitables-3.1.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/sci-misc/vitables/vitables-3.1.0.ebuild b/sci-misc/vitables/vitables-3.1.0.ebuild index cd6a460b1543..8ce3600f8a94 100644 --- a/sci-misc/vitables/vitables-3.1.0.ebuild +++ b/sci-misc/vitables/vitables-3.1.0.ebuild @@ -26,6 +26,7 @@ RDEPEND=" ')" DEPEND="${RDEPEND}" +EPYTEST_XDIST=1 distutils_enable_tests pytest EPYTEST_DESELECT=(
