diff options
| author | Eli Schwartz <eschwartz@gentoo.org> | 2025-08-26 11:09:43 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@gentoo.org> | 2025-08-27 01:33:52 -0400 |
| commit | 23a9efdd47e68edcbabd21beab975947a979005b (patch) | |
| tree | 6469cf707b6780c258fdca56eb7a40c30dc1dcd7 /sci-misc | |
| parent | e5f352b3839564c7b2e6e45cf4a13d41f7ef5870 (diff) | |
| download | gentoo-23a9efdd47e68edcbabd21beab975947a979005b.tar.gz gentoo-23a9efdd47e68edcbabd21beab975947a979005b.tar.bz2 gentoo-23a9efdd47e68edcbabd21beab975947a979005b.zip | |
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@gentoo.org>
Diffstat (limited to 'sci-misc')
| -rw-r--r-- | sci-misc/vitables/vitables-3.1.0.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
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=( |
