mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/pyopengl: Fix running tests on systems without python[tk]
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -56,13 +56,14 @@ PATCHES=(
|
||||
"${FILESDIR}/${P}-pypy3.patch"
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# unreliable memory counting test
|
||||
tests/test_vbo_memusage.py::test_sf_2980896
|
||||
)
|
||||
|
||||
python_test() {
|
||||
nonfatal epytest || die "Tests failed with ${EPYTHON}"
|
||||
local EPYTEST_DESELECT=(
|
||||
# unreliable memory counting test
|
||||
tests/test_vbo_memusage.py::test_sf_2980896
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
|
||||
nonfatal epytest tests || die "Tests failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
|
||||
Reference in New Issue
Block a user