mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pybind11: Use EPYTEST_PLUGINS
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -33,11 +33,12 @@ BDEPEND="
|
||||
<dev-cpp/catch-3:0
|
||||
>=dev-cpp/catch-2.13.9:0
|
||||
dev-libs/boost
|
||||
dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
|
||||
dev-python/tomlkit[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
EPYTEST_RERUNS=5
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
@@ -75,9 +76,8 @@ python_compile() {
|
||||
python_test() {
|
||||
cmake_build cpptest test_cmake_build
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
cd "${BUILD_DIR}/tests" || die
|
||||
epytest -p rerunfailures --reruns=5 "${S}/tests"
|
||||
epytest "${S}/tests"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
|
||||
Reference in New Issue
Block a user